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

checkpoints文件夹下没有生成model_final.pth文件 #198

Open
renshouyu opened this issue Mar 6, 2024 · 0 comments
Open

checkpoints文件夹下没有生成model_final.pth文件 #198

renshouyu opened this issue Mar 6, 2024 · 0 comments

Comments

@renshouyu
Copy link

你好,我执行完当我执行完“python3 -m tools.train_net --num-gpus 1 --config-file configs/PascalVOC-detection/split1/,完成基类训练后,checkpoints下没有生成model_final.pth文件,在inference下有个res_final.json,训练时有一些warning,
WARNING [03/06 20:16:49 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.cls_score.weight' to the model due to incompatible shapes: (16, 1024) in the checkpoint but (5, 1024) in the model! You might want to double check if this is expected.
WARNING [03/06 20:16:49 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.cls_score.bias' to the model due to incompatible shapes: (16,) in the checkpoint but (5,) in the model! You might want to double check if this is expected.
WARNING [03/06 20:16:49 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.bbox_pred.weight' to the model due to incompatible shapes: (60, 1024) in the checkpoint but (16, 1024) in the model! You might want to double check if this is expected.
WARNING [03/06 20:16:49 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.bbox_pred.bias' to the model due to incompatible shapes: (60,) in the checkpoint but (16,) in the model! You might want to double check if this is expected.
WARNING [03/06 20:16:49 fvcore.common.checkpoint]: Some model parameters or buffers are not found in the checkpoint:
roi_heads.box_predictor.bbox_pred.{bias, weight}
roi_heads.box_predictor.cls_score.{bias, weight}

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