Skip to content
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

missing keys from checkpoint #3

Open
chaseleecn opened this issue Sep 7, 2021 · 1 comment
Open

missing keys from checkpoint #3

chaseleecn opened this issue Sep 7, 2021 · 1 comment

Comments

@chaseleecn
Copy link

chaseleecn commented Sep 7, 2021

Nice solution.!

I encountered this problem after runing python ensemble-align-face2-frame-all-rob-policy-flip.py

Loading pretrained model from ./face_detect_ckpt/mobilenet0.25_Final.pthusing cuda! remove prefix 'module.' Missing keys:0 Unused checkpoint keys:0 Used keys:300 => loading checkpoint './submit_models/sf_bc_jc_44000.pth.tar'caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.0.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res4.0.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.1.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.1.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.4.bn2.num_batches_trackedcaution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res4.2.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.0.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res2.0.downsample_bn.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.0.downsample_bn.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.5.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.4.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res4.2.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res2.3.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.3.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res1.0.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.3.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.1.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res1.1.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.1.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.3.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.3.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res1.0.downsample_bn.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.3.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res1.1.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.4.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res1.2.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res4.2.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res1.0.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res4.0.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.1.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res2.3.bn1.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res3.0.downsample_bn.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.0.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: fast_res4.0.bn2.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.2.bn2.num_batches_trackedcaution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res3.5.bn3.num_batches_tracked caution: missing keys from checkpoint ./submit_models/sf_bc_jc_44000.pth.tar: slow_res2.0.bn3.num_batches_tracked ......
The models(MD5) that I downloaded from googledrive:

5c279b02a7173cf85cc5e56f4792bade  submit_models/b0_rgb_58000.pth.tar
11f2f7a4382247d237fa904b0bea1ecb  submit_models/b1_rgb_58000.pth.tar
0d9020578acccae9061e64f555488dfd  submit_models/b1_rgb_alldata_58000.pth.tar
744d5847ac1ce3f09212eea4acbfe86b  submit_models/b1_rgb_long_alldata_66000.pth.tar
95dba382236a90278cd54e38863e34ed  submit_models/b3_rgb_50000.pth.tar
f014afdbcbbef1fad76a23c5c10b4f84  submit_models/res34_rgb_23000.pth.tar
d251ed772502bb6b531daa55bf60d948  submit_models/sf_16x8_bc_jc_44000.pth.tar
27310503946a37530cea469f01a1085c  submit_models/sf_32000.pth.tar
e3afdd5fbd377afdd906dac8b5c542d1  submit_models/sf_bc_jc_44000.pth.tar
c67cd9dcd0834e50d5ae34e6ec1554a8  submit_models/sf_trainval_52000.pth.tar
a33b53336a28670ce4efbf2726a56194  submit_models/xcep_bgr_58000.pth.tar

Are this files intact?

I'm using the same version of pytorch as in requirement.txt, any idea to solve this problem?

@chaseleecn
Copy link
Author

This seems to be just a warning, not sure if it will affect the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant