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

Very Dark Input? #10

Open
slefcourt27 opened this issue Apr 7, 2024 · 2 comments
Open

Very Dark Input? #10

slefcourt27 opened this issue Apr 7, 2024 · 2 comments

Comments

@slefcourt27
Copy link

Hi,

Quick question - when looking at the visualizations generated, I notice that sometimes the input is very dark / black. If you zoom in closely, it's apparent that the underlying data (BTCV) is the same. Did this happen to you and is there an explanation for this? In my case, this occurred on the first epoch. This also happens over time once the loss has been NaN for several tens or hundreds of epochs.

Any help is appreciated!

image

@Dmitvna
Copy link

Dmitvna commented May 19, 2024

Have you solved this problem yet?
I have encountered the same problem, only a few visualization images are normal, and the rest are all completely black.

@slefcourt27
Copy link
Author

I did, there were some places where torch.cuda.amp or the torch.autocast was used. Once I removed that it solved it for the most part.

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