Open tianlu-wang opened 6 years ago
If you are using pytorch 0.4, pls specify dim when softmax function is called in fpn.py and rpn_fpn.py, otherwise you will probably get mAP=0 for every category.
how to do that?
@guanbin1994 use F.softmax(tensor, 1) in both fpn.py and rpn_fpn.py
fpn.py
rpn_fpn.py
I met this issue, it has solved follow @AshStuff advice.
If you are using pytorch 0.4, pls specify dim when softmax function is called in fpn.py and rpn_fpn.py, otherwise you will probably get mAP=0 for every category.