question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

zero dice during the training

See original GitHub issue

Dear Author: During the training of baselineSERes18Conc.py, I found the dice is almost always to be 0 for all the classes. Is It normal? I used the data you provide at Google Drive and all the original hyper-parameters.

epoch 47 TRAIN loss 8.3984
test loss 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
best test loss 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lc82111commented, Apr 28, 2019

It works ~. However, I wonder why such a minor change has a significant impact on the training.

0reactions
lc82111commented, Apr 29, 2019

If we do not use the batchnorm, we should set bias as true. Anyway, congratulations and good luck!

It makes sense. thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dice is always zero during training · Issue #4 - GitHub
I've ran a total of 27 epochs over a few hours on my machine before stopping the training process. The loss went down...
Read more >
What happens when y_true is all 0 in dice loss?
In training, "1 - Ldice" is applied as a loss function. The model takes several images as input including samples which have all...
Read more >
Solo Training Mode - Speaker Dice setup + winning ...
How many speaker dice do you set up for a solo training mode game ? 1 ? 2 ? 0 ? ... Rulebook...
Read more >
New TRAINING MODE! | Training Mode Review (Random Dice)
So.. if u happen to have the "Glitched Dice " I recommend not using it since it breaks the game. Apparently both players...
Read more >
Diverse Counterfactual Explanations (DiCE) for ML
DiCE is based on recent research that generates CF explanations for any ML model. The core idea is to setup finding such explanations...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found