-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating random outputs after some epochs of Training #680
Comments
It's hard to tell. Could you try batch_size=1? Also, not sure if you can transfer a table into a randomly generated skeleton. The quality of the translation will depend on how you generate random skeletons. |
Hi @junyanz , I have been training cyclegan on my own dataset of around 500 images of A and 500 images of B. |
The training looks normal to me. The noise might go away if the model is trained longer. If not, you can also look at #64 |
@junyanz Thank you so much for the response ! Also can you please answer one more query , do I need to change no of epochs if dataset is small ? As in original implementation suppose for horse2zebra dataset 200 epochs are used but my dataset is around 500 images for A(underwater images) and 500 for B(plastic bottles and plastic bags - not underwater). Also since I was getting more noise in generated images I just tried testing with weights for first 10 epochs and generated images were quite smooth and identifiable compared to 100th or 200th epochs weights which were not easily identifying the plastic bottle/bag as in my dataset for B. |
Feel free to change the number of epochs. I think the number of epochs depends on your datasets and applications, and it is hard to tell in advance. |
Yeah will check. Thanks a lot for help :) |
I am training a CycleGAN on my own data set of 10000 tables. Input is a natural table and output should be the skeleton of the table. For the skeleton I'm generating random table skeletons using a python script. The training went OK through first 5-8 epochs and after that it is generating some random tables with random noise. Also the GAN_A loss is oscillating so much and my batch size is 4. Does cycle GAN become worse after few epochs of training or Am I doing something wrong?. Attached the loss function with respect to the number of epochs(25).

The text was updated successfully, but these errors were encountered: