-
Notifications
You must be signed in to change notification settings - Fork 5
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
Missing key "subject_encoder" in the loaded_state_dicts from pretrained model "epoch_8.pth" #7
Comments
No, the model for rel_test are the second stage models, you can find them in the ckpt table in readme, such as the link below vanilla, filter, conv, and transformer |
The links below vanilla, filter, conv, and transformer all go to the same webpage. |
Please follow the entire process here: https://github.com/LilyDaytoy/OpenPVSG?tab=readme-ov-file#training-and-testing Basically if you need test, you should save feature tube from the first stage with epoch_8.ckpt and run test with any provided models in the directory you mentioned. |
Can I skip the "Train IPS" and start with "Tracking and save query features"? Because I am currently also running |
Yes, make sense to me. If you want to try quickly to know how it works, you could shrink the video list here: OpenPVSG/tools/prepare_query_tube_ips.py Line 238 in 4aee63b
|
Thanks a lot for your time and help. |
No problem! Thank you for your interest in the project! |
One more question, I want to use the trained model from stage two to generate scene graph and extract relation features for another dataset, but this dataset does not have an annotation file like |
I think you might need to rewrite some |
No worries, I have found the python file to do this. |
Hi, I have a question about using the code from PVSGAnnotation. What does xxxxxx mean in the link? How do I use this link? Can you please help me with this? |
Oh yes, xxxx means a job id in superannotate. We can arrange a zoom chat after eccv, like this weekend if you are interested in. |
Sure, that would be great. How about I connect with you via email for later communication? |
Hi,
I am running the file
rel_test_full.py
to do some testing, but I got aKeyError: "subject_encoder"
when accessing theloaded_state_dicts
which is loaded from the pre-trained modelepoch_8.pth
, the variablesave_work_dir
is set to bework_dirs/relation/rel_ips_transformer
, which contains the modelepoch_8.pth
as far as I can tell, we are supposed to load the model from
epoch_8.pth
which is under the folder "mask2former_r50_ips"Can you please help me with this? Please point out any mistakes that I have made. Thanks
The text was updated successfully, but these errors were encountered: