Skip to content
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

How long does it take to train #17

Open
djFatNerd opened this issue Nov 21, 2023 · 2 comments
Open

How long does it take to train #17

djFatNerd opened this issue Nov 21, 2023 · 2 comments

Comments

@djFatNerd
Copy link

Dear Authors:

Thank you for your great work.

I'm trying to train InfinityGAN with my own dataset which consistes of ~80,000 256 x256 images. I am using a batch size of 32 training on 4 x 3090 GPUs, and I have trained for about 150,000 iterations.

However, the FIDs are still high and I am not getting any visible results. I have attached some sampled results and training stats below, may I ask you if these look normal to you? Does these indicate I might have made some mistakes somewhere? Thank you so much for you help!

0a4a0c52b8dd6b86cbb72375d8b8fae 6f8200aa3bacaa3cd32999898a85ec0 202dc9ba9156dbf0acbf72267161bc8 d0fab649b583a36ea2425a0f0489b46 d97d2e2996329782437c3be0e5ec184 e35bb62f5dfd9fb2535aeee2485c916 fa1d500b20440b3ec8eed8bcb675fbd
@hubert0527
Copy link
Owner

This is abnormal to me. The generator should start generating some initial structured pixels around 30k iterations.
I would try to increase the gradient penalties and reduce the diversity loss.
There could be some other issues with your configurations, as "structure_diversity_D_score" has a very weird distribution.

@djFatNerd
Copy link
Author

Hi, thank you for your reply. We used the exact same configuration as "InfinityGAN-IOP.yaml"

We found the training process is highly sensitive to learning rate and we had to adjust the learning rate frequently during training.

We are now able to get some results at ~200,000 epochs and reaching an FID of ~80.

1700898553127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants