MILVLG / bottom-up-attention.pytorch

A PyTorch reimplementation of bottom-up-attention models
Apache License 2.0
294 stars 76 forks source link

Warning: model parameters or buffers not found in checkpoint, COCO extract_features script #78

Closed rubencart closed 3 years ago

rubencart commented 3 years ago

I get the following warning when running CUDA_VISIBLE_DEVICES=1 python extract_features.py --mode caffe --num-cpus 64 --gpus '1' --extract-mode roi_feats --min-max-boxes '10,100 ' --config-file configs/bua-caffe/extract-bua-caffe-r101.yaml --image-dir ... --out-dir ..., is that normal?

WARNING [10/20 10:33:45 fvcore.common.checkpoint]: Some model parameters or buffers are not found in the checkpoint:                                                                                                             
backbone.res4.0.conv1.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.0.conv2.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.0.conv3.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.0.shortcut.norm.num_batches_tracked                                                                                                                                                                                
backbone.res4.1.conv1.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.1.conv2.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.1.conv3.norm.num_batches_tracked                                                                                                                                                                                   
backbone.res4.10.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.10.conv2.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.10.conv3.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.11.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.11.conv2.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.11.conv3.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.12.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.12.conv2.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.12.conv3.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.13.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.13.conv2.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.13.conv3.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.14.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.14.conv2.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.14.conv3.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.15.conv1.norm.num_batches_tracked                                                                                                                                                                                  
backbone.res4.15.conv2.norm.num_batches_tracked
backbone.res4.15.conv3.norm.num_batches_tracked
backbone.res4.16.conv1.norm.num_batches_tracked
backbone.res4.16.conv2.norm.num_batches_tracked
backbone.res4.16.conv3.norm.num_batches_tracked
backbone.res4.17.conv1.norm.num_batches_tracked
backbone.res4.17.conv2.norm.num_batches_tracked
backbone.res4.17.conv3.norm.num_batches_tracked
backbone.res4.18.conv1.norm.num_batches_tracked
backbone.res4.18.conv2.norm.num_batches_tracked
backbone.res4.18.conv3.norm.num_batches_tracked
backbone.res4.19.conv1.norm.num_batches_tracked
backbone.res4.19.conv2.norm.num_batches_tracked
backbone.res4.19.conv3.norm.num_batches_tracked
backbone.res4.2.conv1.norm.num_batches_tracked
backbone.res4.2.conv2.norm.num_batches_tracked
backbone.res4.2.conv3.norm.num_batches_tracked
backbone.res4.20.conv1.norm.num_batches_tracked
backbone.res4.20.conv2.norm.num_batches_tracked
backbone.res4.20.conv3.norm.num_batches_tracked
backbone.res4.21.conv1.norm.num_batches_tracked
backbone.res4.21.conv2.norm.num_batches_tracked
backbone.res4.21.conv3.norm.num_batches_tracked
backbone.res4.22.conv1.norm.num_batches_tracked
backbone.res4.22.conv2.norm.num_batches_tracked
backbone.res4.22.conv3.norm.num_batches_tracked
backbone.res4.3.conv1.norm.num_batches_tracked
backbone.res4.3.conv2.norm.num_batches_tracked
backbone.res4.3.conv3.norm.num_batches_tracked
backbone.res4.4.conv1.norm.num_batches_tracked
backbone.res4.4.conv2.norm.num_batches_tracked
backbone.res4.4.conv3.norm.num_batches_tracked
backbone.res4.5.conv1.norm.num_batches_tracked
Zoroaster97 commented 3 years ago

Yes. The "norm.num_batches_tracked" parameters do not affect the result.