Almost everything is seen as OK with default settings
JulienMaille opened this issue · 17 comments
I trained segmentation and then decision with your default settings and the network barely detect anything. I get 99% of "OK" on the test dataset.
Did I missed something?
Hi,
i have the same behaviour. Did you find an answer?
Not really, I tried to setup a Google Colab notebook.
https://colab.research.google.com/drive/101HUaOo3PskWp7h6DucR50pIGxO_SX2m
The loss during training doesn't look good to me
Hi,
i got it working. When you train the segmentation network please use only the defect inside Train_NG with lr 0.001. Train it for 100 epochs as default. When you train the decision network change the lr=0.1 with Adam or add some lr_scheduler like cycle learning. With these parameters i got both defect and good classification. Let me know if it is working also for you. Thanks
Ok I will try that. Have you tried training it on your own dataset?
Yes i have tried but with no good results
when i using defualt settings in training, the output mask in "testResultSeg" is completely black, no defect was detected,same In all pictures of all epoch (100 epoch ).
How can i fix it.
thanks.
when i using defualt settings in training, the output mask in "testResultSeg" is completely black, no defect was detected,same In all pictures of all epoch (100 epoch ).
How can i fix it.
thanks.
hi, I have the same problem(the output mask in "testResultDec" is completely black), have you sovled it?
ValueError: num_samples should be a positive integer value, but got num_samples=0
how can i fix it?
@LoveIsAGame
The same problem, how do you solve it?
Tried to python train_segment.py
ValueError: num_samples should be a positive integer value, but got num_samples=0
THANKS
Changed ".jpg" to ".bmp" at dataset.py .
ok
try to use sigmoid but not rule in the last which is named layer 5
oh,Tried to python train_segment.py is ok, but tried to python train_decision.py is ValueError: num_samples should be a positive integer value, but got num_samples=0, why? how do you solve it?
thanks.
try to use sigmoid but not rule in the last which is named layer 5
Still not working. I doubt the implementation can work tbh
try to use sigmoid but not rule in the last which is named layer 5
Still not working. I doubt the implementation can work tbh
just no act function,because loss function has the act.