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

new pretrained model "HRNet-W48-C (w/ CosineLR + CutMix + 300epochs)" #31

Open
scok30 opened this issue Jun 28, 2021 · 6 comments
Open

Comments

@scok30
Copy link

scok30 commented Jun 28, 2021

Hello. Thank you for offering newly added checkpoints! When I tried to use the one "HRNet-W48-C (w/ CosineLR + CutMix + 300epochs)", my pytorch model loader and tar extractor couldn't work. Could you please release another version, or tell me the correct way to use it? Thanks!

@PkuRainBow
Copy link
Collaborator

@scok30 Could you provide more details on the problem?

@scok30
Copy link
Author

scok30 commented Jun 29, 2021

OK! Thanks for your reply.
First I downloaded this ckpt from this place:
image
Then I tried to load it by using pytorch:
image
and got error:
image
The last line is : RuntimeError: [enforce fail at ..\caffe2\serialize\inline_container.cc:145] . PytorchStreamReader failed reading file data/94778950984656: invalid header or archive is corrupted.
After that I tried to examine it by WinRAR on Windows, and found that :
HRNet_W48_C_cosinelr_cutmix_300epoch.pth.tar: 文件 94778940317824 里出现校验和错误。该文件已损坏。
HRNet_W48_C_cosinelr_cutmix_300epoch.pth.tar: 压缩文件已损坏
It shows that one of file in this ckpt has some wrong CRC32 value.
And when I move it to a Linux computer, things remain unsolved:
image
Maybe this is due to some small mistakes when I downloaded this ckpt, may I trouble you to send this ckpt to my mailbox :
[email protected]

@scok30
Copy link
Author

scok30 commented Jun 30, 2021

@PkuRainBow Sorry I forgot to @ you....

@underwang
Copy link

same error

@sergiev
Copy link

sergiev commented Oct 23, 2022

Same trouble.
@PkuRainBow, anything to clarify?

@PkuRainBow
Copy link
Collaborator

@sergiev @underwang @scok30 @honghuis Please try to set the map_location parameter as 'gpu'.

Sorry for the late reply, we have spent little effort on this project since a long time ago (as I am not the author of the paper indeed). So the previous efforts are just done when we are not busy indeed.

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

4 participants