Closed MPolaris closed 4 years ago
After changing the backbone to densenet, I encountered the same problem. Have you solved it?
After changing the backbone to densenet, I encountered the same problem. Have you solved it?
I think I found a solution. After making sure there was no problem with the data, I found that there were many problems with the weight names when loading the pre-trained weights, like missing keys and unexpected key. After modifying them, I was able to load the pre-trained weights normally and detect the box during testing.
I have a research program for Mammogram, I plan use Cascade RCNN as base frame. First, I use the official config(cascade_rcnn_r50_fpn_1x.py) and official pretrained model, model work very well. Then, I implement DenseNet and use it as a backbone, only change the backbone config. During training, every thing is normal, loss_rpn_cls , loss_bbox, loss etc...
Unique abnormal is acc ,it will be reach 99 quickly, three stage are. On contrast, resenet is between 93 to 96. So any suggestion for me? How can I find out the problem? Thanks for your help!
Densenet.py
config.py