a-PyTorch-Tutorial-to-Object-Detection
a-PyTorch-Tutorial-to-Object-Detection copied to clipboard
when traing, the loss becomes nan. why?

Hey, Are you using the same dataset? If not then this is happening because the lr is high for your dataset. Reduce the lr. As soon as the loss reaches around thousands it starts showing nan or inf.
Go to train.py and reduce the learning rate(lr).
Upon some tracing I found out that MultiboxLoss returns that nan value, maybe this is the same issue as #54