neurvps icon indicating copy to clipboard operation
neurvps copied to clipboard

Issue with model weights

Open AmmaraRazzaq opened this issue 1 year ago • 2 comments

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

AmmaraRazzaq avatar Aug 22 '24 10:08 AmmaraRazzaq

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

zhou13 avatar Aug 22 '24 20:08 zhou13

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.

AmmaraRazzaq avatar Aug 23 '24 07:08 AmmaraRazzaq