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

Cannot untar the pretrained model #17

Open
thenol opened this issue May 17, 2023 · 2 comments
Open

Cannot untar the pretrained model #17

thenol opened this issue May 17, 2023 · 2 comments

Comments

@thenol
Copy link

thenol commented May 17, 2023

I tried to untar your pre-trained model, but some errors occurred as follows

tar: This does not look like a tar archive
tar: Skipping to the next header
tar: Exiting with failure status due to previous errors

model file: sct_iter_160000.pth.tar
So how to untar this file ?

@JarrentWu1031
Copy link
Owner

Hello, you should not untar the pre-trained model. Leave it as it is, and try the testing code. I think it would help.

@ivanstepanovftw
Copy link

Run file sct_iter_160000.pth.tar, and you will see that it is not tar file. It is actually .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