PyTorch-CycleGAN
PyTorch-CycleGAN copied to clipboard
A clean and readable Pytorch implementation of CycleGAN
Setting up a new session... Namespace(batchSize=1, cuda=True, dataroot='C:\\Users\\MaYu\\Desktop\\Dachuang\\datasets\\horse2zebra', decay_epoch=100, epoch=0, input_nc=3, lr=0.0002, n_cpu=6, n_epochs=200, output_nc=3, size=256) E:\anaconda\anaconda\envs\pytorch\lib\site-packages\torchvision\transforms\transforms.py:257: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use...
Hello,thanks for your share,when i use your code with the command 'sh ./train --dataroot datasets/horse2zebra/ --cuda',i encounter a problem said './train: 20: ./train: Syntax error: "(" unexpected',could you please help...
* linting with flake8 and custom `tox.ini` configuration * typing for utils and dataset * fix grayscale scenario * improved readability * added `requirements.txt`
Thanks for the great work @aitorzip I think I've spotted a mistake in the way the GAN loss is calculated. In the `forward` of your `Discriminator` class you average the...
Pls tell me why derive the discriminator loss function w.r.t. the label rather than the input data.
my test images have Artifacts like this, what's the problem and how to sovle it? thx anyway! ![1](https://user-images.githubusercontent.com/41501835/82526380-7596ad80-9b66-11ea-99f3-d5120b1d057a.png)
This error message appears when the total number of training images modulo batch size does not equal zero. For instance, if I had 50 images with a batch-size of 8,...
RuntimeError: The expanded size of the tensor (1224) must match the existing size (370) at non-singleton dimension 2 When I am executing the test.py file, there is a runtime error,...
Base code use old version on pytorch. In new version we must change this code from file utils.py ``` if loss_name not in self.losses: self.losses[loss_name] = losses[loss_name].data[0] else: self.losses[loss_name] +=...
When I use my own data set, the program runs normally, but with the dataset :horse2zebra, the program starts to report errors: ![image](https://user-images.githubusercontent.com/57318837/112589154-93ded100-8e3b-11eb-976f-0028debed00e.png)