unable to load local weight
I have manually downloaded the model weights from Hugging Face and tried fine-tuning the model using the following command.
bash scripts/vl_finetune.sh ./groma-7b-pretrain ./train_history/
But the program still tries to access the weights from the website.
I set the following output for debug.
And this is the output:
It seems that the program is unable to local model weight?
Looking forward to your reply.
Sorry, the issue seems to be occurring here.
So what is the
vis_encoder_path?
Thanks for the feedback. The bug occurs as the program is looking for a local DINOv2-L checkpoint to initialize CustomDDETRModel. This is not an expected behavior. A quick fix is to delete vis_encoder_path: checkpoints/dinov2-large in groma-7b-pretrain/config.json. I will fix the initialization logic soon later.
"Thank you for your prompt feedback. I have encountered a new issue. Do you know why this is happening?"
I think this error comes from a failed installation of mmcv. Could you clarify the relationship between the mmcv folder in your repository and the mmcv package?
We inherited the mmcv folder from GPT4ROI. I think it is originated from mmcv==1.4.7.