niopeng / chimle Goto Github PK
View Code? Open in Web Editor NEWPyTorch - CHIMLE, an IMLE-based general-purpose multimodal conditional image synthesis method [NeurIPS 2022]
License: Apache License 2.0
PyTorch - CHIMLE, an IMLE-based general-purpose multimodal conditional image synthesis method [NeurIPS 2022]
License: Apache License 2.0
Will a demo be released on Google Colab or Huggingface, Replicate? Thanks
Very interesting technology
Thanks for your great work. Here's a question about super-resolution task. I downloaded the butterfly datasets (n02279982) and try to generate the SR results under 16x factor. I don't know how you divided the training and testing datasets, so i tested on the whole datasets. However, i didn't get the similar results with yours, some samples showcase significant errors. All the conditions are following your file, except for the down-sampling strategy. Is that possible that the down-sampling method can cause these errors? Looking forward to your reply.
Hello,
Thanks for sharing your creative work. I want to reproduce the colourization result and run your code on single V100 GPU of HPC server. However, in the beginning of print_log.txt I found something very strange:
Random Seed: 0
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Train_Colourization] is created.
Number of train images: 721, iters: 2
Total epochs needed: 20 for iters 400,000
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Validation_Colourization] is created.
Number of val images in [Validation_Colourization]: 721
initialization method [kaiming]
Remove pixel loss.
Loading model from: /home/chihchieh/CHIMLE/code/models/weights/v0.1/vgg.pth
Mapping network param multiplier: 0.010000 with total length 64
---------- Model initialized ------------------
Number of parameters in G: 210,614,288
Number of parameters in F: 14,714,688
Model [CHIMLEModel] is created.
---------- Start training -------------
---------- validation -------------
Random Seed: 0
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Train_Colourization] is created.
Number of train images: 721, iters: 2
Total epochs needed: 20 for iters 400,000
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Validation_Colourization] is created.
Number of val images in [Validation_Colourization]: 721
initialization method [kaiming]
Remove pixel loss.
Loading model from: /home/chihchieh/CHIMLE/code/models/weights/v0.1/vgg.pth
Mapping network param multiplier: 0.010000 with total length 64
---------- Model initialized ------------------
Number of parameters in G: 210,614,288
Number of parameters in F: 14,714,688
Model [CHIMLEModel] is created.
---------- Start training -------------
---------- validation -------------
Random Seed: 0
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Train_Colourization] is created.
Number of train images: 721, iters: 2
Total epochs needed: 20 for iters 400,000
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Validation_Colourization] is created.
Number of val images in [Validation_Colourization]: 721
initialization method [kaiming]
Remove pixel loss.
Loading model from: /home/chihchieh/CHIMLE/code/models/weights/v0.1/vgg.pth
Mapping network param multiplier: 0.010000 with total length 64
---------- Model initialized ------------------
Number of parameters in G: 210,614,288
Number of parameters in F: 14,714,688
Model [CHIMLEModel] is created.
---------- Start training -------------
---------- validation -------------
Random Seed: 0
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Train_Colourization] is created.
Number of train images: 721, iters: 2
Total epochs needed: 20 for iters 400,000
read lmdb keys from cache: /home/chihchieh/CHIMLE/code/data/colorization_dataset/c_filename.lmdb/_keys_cache.p
Dataset [ColourizationDataset - Validation_Colourization] is created.
Number of val images in [Validation_Colourization]: 721
initialization method [kaiming]
Remove pixel loss.
Loading model from: /home/chihchieh/CHIMLE/code/models/weights/v0.1/vgg.pth
Mapping network param multiplier: 0.010000 with total length 64
---------- Model initialized ------------------
Number of parameters in G: 210,614,288
Number of parameters in F: 14,714,688
Model [CHIMLEModel] is created.
I mean, looks like training steps are repeated several times but I do not find anything related to parallel/distributed training on train.py. Is it normal or did I do anything wrong? Could you give me some suggestions?
Thanks for your help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.