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

Training on custom data does not balance out #163

Open
mehdiosa opened this issue Aug 10, 2022 · 1 comment
Open

Training on custom data does not balance out #163

mehdiosa opened this issue Aug 10, 2022 · 1 comment

Comments

@mehdiosa
Copy link

Hello,

thanks for this repo and all of the implementations. I have been trying to get the Implementation to work on some custom data, however, the loss curves always indicate that something is going wrong.
The data I am training on is 256 x 256 and when training on it the discriminator keeps going to values very close to 0 and eventually either goes to zero or comes back for a few training steps and then repeats the same procedure.

Do you have any tips or suggestions on which parameters to change so the training runs more stable with a custom dataset?

Thanks

@mingukkang
Copy link
Collaborator

Some useful tips for GAN training:

  1. apply weight decay (1e-5)
  2. use differentiable augmentations
  3. remove attention layers
  4. use smaller batch size for training.

Luck luck:)

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