You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this problem too. I stil don't see any softmax used on the output, so I get this error when testing (and training) the pretrained network. python train.py --test_phase 1 --pretrained 1 --classifier resnet18
The `preds` should be probabilities, but values were detected outside of [0,1] range.
which is a reasonable error. :)
Did you use a Softmax in the very last layer? I see that last layer is a fully connected (nn.Linear).
The text was updated successfully, but these errors were encountered: