The checkpoint state_dict contains keys that are not used by the model: #4135
Unanswered
rabahMoulai
asked this question in
Q&A
Replies: 1 comment
-
when I run the program with an image as input, I have the same image as output (without any detection) neither boundinx box nor classes name |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When loading the faster-rcnn configs from detectron config file
PS C:\Users\rabah.moulai\Desktop\Detectron_faster_Rcnn> & C:/Users/rabah.moulai/Anaconda3/envs/detectron_env/python.exe c:/Users/rabah.moulai/Desktop/Detectron_faster_Rcnn/run.py
Some model parameters or buffers are not found in the checkpoint:
backbone.fpn_lateral2.{bias, weight}
backbone.fpn_lateral3.{bias, weight}
backbone.fpn_lateral4.{bias, weight}
backbone.fpn_lateral5.{bias, weight}
backbone.fpn_output2.{bias, weight}
backbone.fpn_output3.{bias, weight}
backbone.fpn_output4.{bias, weight}
backbone.fpn_output5.{bias, weight}
proposal_generator.rpn_head.anchor_deltas.{bias, weight}
proposal_generator.rpn_head.conv.{bias, weight}
proposal_generator.rpn_head.objectness_logits.{bias, weight}
roi_heads.box_head.fc1.{bias, weight}
roi_heads.box_head.fc2.{bias, weight}
roi_heads.box_predictor.bbox_pred.{bias, weight}
roi_heads.box_predictor.cls_score.{bias, weight}
The checkpoint state_dict contains keys that are not used by the model:
fc1000.{bias, weight}
C:\Users\rabah.moulai\Anaconda3\envs\detectron_env\lib\site-packages\torch\functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\Users\builder\tkoch\workspace\pytorch\pytorch_1647970138273\work\aten\src\ATen\native\TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
my config setup
Beta Was this translation helpful? Give feedback.
All reactions