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

Green image during inference. #80

Open
constan1 opened this issue Apr 2, 2024 · 0 comments
Open

Green image during inference. #80

constan1 opened this issue Apr 2, 2024 · 0 comments

Comments

@constan1
Copy link

constan1 commented Apr 2, 2024

I'm trying to train this on my custom dataset on faces. The core architecture of the model is roughly the same but I added a cross-attention block for conditioning on a different modality in addition to scale/shift for t. That being said. I see my MSE loss go down, but VLB is really unstable. However it does seem to converge.
image

Anyway, I'm training only a small subset to test. But I get really low mse loss and vlb after a while so the model seems to converge and learn the distribution to something but the output is just green.

image

If anyone could let me know what could be the reason for this? I'm using FP32.

in addition, I do normalize the images by dividing by 255 and then with normalize = transforms.Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])

its really odd that I'm getting specifically only green output

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

1 participant