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

Beginning with epoch 1,loss is equal to 0 #32

Closed
goldcarpenter opened this issue Apr 2, 2019 · 2 comments
Closed

Beginning with epoch 1,loss is equal to 0 #32

goldcarpenter opened this issue Apr 2, 2019 · 2 comments

Comments

@goldcarpenter
Copy link

Your examples/notebook's work is wonderful.thank you.
Now, I hope to use our dataset. It ran well ,but loss was too small.Like this,
Train epoch: 0 [0/512] Avg. Loss: 0.701 Avg. Time: 1.706 INFO:__main__: Train epoch: 0 [10/512] Avg. Loss: 0.589 Avg. Time: 0.434 INFO:__main__: Train epoch: 0 [20/512] Avg. Loss: 0.407 Avg. Time: 0.374
Finally,we got nothing except red in predict result.
our dataset is medical image, gt is white(255).we set NUM_CLASSES = 2.Is that right?

@DrSleep
Copy link
Owner

DrSleep commented Apr 18, 2019

closing since this is not related to the code released here.

@DrSleep DrSleep closed this as completed Apr 18, 2019
@kingyj7
Copy link

kingyj7 commented May 7, 2019

Hi, @goldcarpenter , I also encounter this problem! When I set NUM_CLASSES = 2 for my own data to classify foreground and background, the loss down to 0 quickly. And after 5 epochs, i got mIOU=1 for all validation images! If you have solved this problem, please let me know, Thank you~

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

3 participants