PyTorch-CycleGAN icon indicating copy to clipboard operation
PyTorch-CycleGAN copied to clipboard

A clean and readable Pytorch implementation of CycleGAN

Results 39 PyTorch-CycleGAN issues
Sort by recently updated
recently updated
newest added

hi, i have a question for the dataset structure, because i'm new to the GAN, so i want to ask, the images from domain A and B must be one...

real A: torch.Size([1, 3, 256, 256]) real_B: torch.Size([1, 3, 256, 256]) Traceback (most recent call last): File "train.py", line 118, in loss_GAN_A2B = criterion_GAN(pred_fake, target_real) File "/home/z00495072/anaconda3/envs/centernet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in...

Thank you so much for implementing CycleGAN in pytorch more readable! I would like to know which part is PatchGAN??

/home/shah2/.local/lib/python3.6/site-packages/torch/nn/modules/loss.py:431: UserWarning: Using a target size (torch.Size([1])) that is different to the input size (torch.Size([1, 1])). This will likely lead to incorrect results due to broadcasting. Please ensure they have...

Hi, Thank you very much for easy implementation of Cyclgan code. I am training on the server and couldn't use web browser to visualize the results. So is there a...

Where should I modify the code of train.py? ![image](https://user-images.githubusercontent.com/58249279/75088808-20f68d00-558d-11ea-8f5b-4529bf2802ea.png)

I couldn't help but notice that the discriminator did not have a sigmoid activation. Is there any reason for this? (https://github.com/aitorzip/PyTorch-CycleGAN/blob/67da8f9e2b69bd68763451803c7700aaccc92f18/models.py#L92)

Now if I run this utils.py and get this error ``` ➜ python train --dataroot datasets/horse2zebra/ Namespace(batchSize=1, cuda=False, dataroot='datasets/horse2zebra/', decay_epoch=100, epoch=0, input_nc=3, lr=0.0002, n_cpu=8, n_epochs=200, output_nc=3, size=256) /Users/tk/python_dir/pytorch_dir/Cycle/PyTorch-CycleGAN/utils.py:114: UserWarning: nn.init.normal...