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

model loading issues #36

Open
explorer359 opened this issue Aug 18, 2021 · 4 comments
Open

model loading issues #36

explorer359 opened this issue Aug 18, 2021 · 4 comments

Comments

@explorer359
Copy link

RuntimeError: [enforce fail at inline_container.cc:108] . file in archive is not in a subdirectory: htc_cbv2_swin_large22k_patch4_window7_mstrain_400-1400_giou_4conv1f_adamw_1x_coco.pth

@CharlesNJ
Copy link

I am guessing you are giving the name of the file when it's looking for the path of the directory not the file itself

@explorer359
Copy link
Author

provided model file is a zip file, and I am trying with the same file @CharlesNJ

@CharlesNJ
Copy link

Would you mind sharing the code please?

@chuxiaojie
Copy link
Collaborator

@explorer359
Unzip .zip file first and you will get .pth file.

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

3 participants