-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load weight mismatch #11
Comments
`base = './vfnet_r50_fpn_mdconv_c3-c5_mstrain_2x_coco.py' training and testing settingstrain_cfg = dict( data settingdataset_type = 'CocoDataset' img_norm_cfg = dict( optimizeroptimizer = dict( learning policylr_config = dict( swa learning policyswa_lr_config = dict( runtimeload_from = './weights/SWA-VFNetX-1-18-53.4_VFNetX-R2101-41e-0.01-0.0001-52.2.pth' |
above is my config file |
Hi @CuongNN218, what is your MMDetection version? lower than v2.4.0? |
@hyz-xmaster i used mmdetection 2.8.0 and use your repo to training. Can you check my config file for me ? |
Hi @CuongNN218, it is normal, because the original Res2Net has no DCN layers, so when you insert DCN layers, there is mismatch between the layer names of the original Res2Net and the DCN-based Res2Net. However, in the pre-trained VFNetX model which you are loading, there are DCN weights in the backbone, matching the DCN-based Res2Net. |
Regarding your config file, it seems fine. I am just curious about why you set |
@hyz-xmaster https://mmdetection.readthedocs.io/en/latest/tutorials/customize_runtime.html#customize-workflow you can read it in the link below. maybe i'm wrong about validation after 3 epochs |
@CuongNN218, you can add |
@hyz-xmaster Hi, thanks for your great work. I'm using VFNetX with custom data set with 14 classes and get this warning. But when i use VFNet with R50 backbone with no DCN this warning disappeared. Is it normal ?
The text was updated successfully, but these errors were encountered: