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

VCOCO checkpoints #16

Open
ChelsieLei opened this issue Jan 24, 2025 · 0 comments
Open

VCOCO checkpoints #16

ChelsieLei opened this issue Jan 24, 2025 · 0 comments

Comments

@ChelsieLei
Copy link

Hi, thanks for your nice work.

There is an error when I want to load the pre-trained VCOCO model ().

RuntimeError: Error(s) in loading state_dict for UPT:
Missing key(s) in state_dict: "adapter_union_weight".

I use the code provided in scripts/vcoco.sh

python main_tip_finetune.py --world-size 1 --dataset vcoco --data-root vcoco/ --partitions trainval test --pretrained checkpoints/detr-r50-vcoco.pth --output-dir checkpoints/camera_vcoco --use_insadapter --num_classes 24 --file1 vcoco_pkl_files/vcoco_union_embeddings_cachemodel_crop_padding_zeros_vit16.p --clip_dir_vit checkpoints/pretrained_clip/ViT-B-16.pt --cache --resume [CKPT]

I wonder what the problem is that leads to the error. Thanks.

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