Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

the predicted results are all 0s #19

Open
abel-w opened this issue Dec 29, 2017 · 4 comments
Open

the predicted results are all 0s #19

abel-w opened this issue Dec 29, 2017 · 4 comments

Comments

@abel-w
Copy link

abel-w commented Dec 29, 2017

I has been used the data of VOC2012 and the your code to train the models, but the predicts was all 0s during train process. Would you give me some advises. Thank you very much.

@zwang92
Copy link

zwang92 commented Apr 7, 2018

[Issue Description]
By using VOCtrainval_11-May-2012 and author's SegmentationClassAug data set to train the network, i also find preds (as following python code) in the SNAPSHOT_DIR are all 0
...
axes.flat[i * 3 + 2].imshow(decode_labels(preds[i, :, :, 0]))
...

I am using tensorflow r1.4, is there some compability issue here ?
Could anyone else give some suggestions?
thanks

@cyccty
Copy link

cyccty commented Jul 2, 2018

Me too. Data is VOC2012. Tensorflow version is 0.11.0
And the strange phenomenon as following:
First epoch: the predicted results are right, mIoU is reasonable.
Other epochs: the predicted results are all 0, mIoU is very very low.
Same dataset works well by using DeepLab v2.
Could anyone give some solutions?
Thanks.

@ai1361720220000
Copy link

Could anyone have solved this problem?

@ShunLu91
Copy link

ShunLu91 commented Apr 1, 2019

I used to meet the same problem but I found that it may be the loss that was too large.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants