Skip to content
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

Issue with model weights #27

Open
AmmaraRazzaq opened this issue Aug 22, 2024 · 2 comments
Open

Issue with model weights #27

AmmaraRazzaq opened this issue Aug 22, 2024 · 2 comments

Comments

@AmmaraRazzaq
Copy link

I downloaded the model weights from hugging face but the files have some issue. i am not able to extract the weights from tar file.
I am getting this error message

tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains ‘\254\001d\033s\003\336\b\0\0P\t’ where numeric off_t value expected tar: A lone zero block at 554587 tar: Exiting with failure status due to previous errors

and I am using this command to extract the file
tar -xvf better-result.pth.tar

@zhou13
Copy link
Owner

zhou13 commented Aug 22, 2024

I think you don't need to extract from the tar file. You can directly use it for test.

@AmmaraRazzaq
Copy link
Author

I need to run inference on a single image, I didn't find any inference handler in the repo, but i will try to run inference with these model weights, will update here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants