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

Can't train model, only green samples generated #589

Open
furkan-celik opened this issue Jan 24, 2023 · 2 comments
Open

Can't train model, only green samples generated #589

furkan-celik opened this issue Jan 24, 2023 · 2 comments

Comments

@furkan-celik
Copy link

furkan-celik commented Jan 24, 2023

Hi,

I am working on a project where we want to use Stable Diffusion. I have already used OpenAI's improved-diffusion and score-guided diffusion on my environment. However, when I try to use stable diffusion all I get is green samples and blank picture for class conditioned images. I have looked at this and it is the same from the initialization of the model but no weight is NA or INF. When I use extreme learning rates outputs get black but still no learning. Loss also doesn't change and stay at 1. Any idea how to resolve this?

GPU: Nvidia A40
Image size: 256x256
I have tried with CelebA and custom dataset with ImageFolder function from torchvision.
Environment is set by 'conda env create -f environment.yaml' and environment is clean besides these packages.
Tried running for 12 hours observed no change on outputs.
Inputs saved from ImageLogger looks fine.
This is also mentioned in #69 but no solution is provided.

Reconstruction result
reconstruction_gs-000003_e-000000_b-000003
Diffusion Row Result
diffusion_row_gs-000000_e-000000_b-000000

@fujistoo
Copy link

Did you manage to solve this?

@furkan-celik
Copy link
Author

Yes, I can't recall how I solved thıs though. Do you still need assistance?

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