Open zhangyunming opened 6 years ago
Almost all the test images are foreground..
I have met the same issue. I trained my own data from scratch and got nothing output. My data has three classes, that is 0, 1 and 2, where 0 stands for background. I set n_classes to 3 & ignore 255 and n_classes to 2 & ignore 0, both got nothing. The output image is all 1.
Hey guys, you can refer to #50, there are some advices which can help you to solve the problems!
Well, the code can run but it learnt nothing. When I start training, it has outputs other than 1. But later on the output is all 1.
Yes,when i do everything same with issue50,its still the problem
Do you guys load the pre-trained model? I think you should do that, or the network might learned nothing. If you trained from scratch, you should teach the model to classify object first (trained on ImageNet or something else).
hi,hellochick: i use the code you release severel days ago , i use my data in two class(background,foreground) to train from strach
i test on the code in your demo.py(changed by your demo.) ,but it has nothing result.
whats wrong