-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Pretraining weights #1085
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi, thanks for your feedback. It is very terrible. Could you check your training log to see whether Maybe you can attach your training log here to help us check whether pretrained is loaded. Also, please fill out the error reports, e.g. mmcv and mmsegmentation versions. Thank you very much! |
Hello, I also encountered this problem. I found that the pre-trained model of the backbone network is not automatically loaded. This is the original training log. It can be found that although the parameters are updated to init_cfg, the pre-trained model is not actually loaded .
But when I add the following two lines at the end of resnet's init() function, the pre-trained model can be loaded correctly.
log is:
|
Hi, sorry to see that. Let us fix your problem ASAP. I think it may be caused by our code upgrade from (1) Which version of MMCV and MMSegmentation you use? (2) Could you try to update MMCV and MMSegmentation to latest version (which may also need to be compatible for your server) to see whether this problem still exist? Thanks! |
Thank you very much for your patience, the problem has been solved perfectly. |
…nes (open-mmlab#1085) * add enable sequential cpu offloading to other stable diffusion pipelines * trigger ci * fix styling * interpolate before converting to device to avoid breking when cpu_offload is enabled with fp16 Co-authored-by: Pedro Gengo <pedro.gabriel.lourenco@hotmail.com> * style again I need to stop forgething this thing * fix inpainting bug that could cause device misalignment Co-authored-by: Pedro Gengo <pedro.gabriel.lourenco@hotmail.com> * Apply suggestions from code review Co-authored-by: Pedro Gengo <pedro.gabriel.lourenco@hotmail.com> Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* [Doc] Merge doc folder (open-mmlab#1083) * merge folders of en/zh_cn docs * fix merge_docs.sh * fix index.rst * fix merge_docs.sh * use shared menu * fix merge_docs * fix zh_cn doc link * sort readme papers * add voxelpose and cmu panoptic dataset into docs * update readme * Revert "[Doc] Merge doc folder (open-mmlab#1083)" This reverts commit 31e40a8a8484cb52f70448703396712afb6efc06.
Hello, when using pre-training weights, do I need to change "pretrained='open-mmlab://resnet50_v1c" to "pretrained='https://download.openmmlab.com/pretrain/third_party/resnet50_v1c-2cccc1ad.pth" to automatically load the weights?
If I do not make changes, the model weights will not be downloaded automatically?
The text was updated successfully, but these errors were encountered: