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

It doesn't work with some models #34

Closed
salihkaragoz opened this issue Apr 12, 2018 · 4 comments
Closed

It doesn't work with some models #34

salihkaragoz opened this issue Apr 12, 2018 · 4 comments

Comments

@salihkaragoz
Copy link

I didn't convert some specific models.

https://github.com/facebook/fb.resnet.torch/tree/master/pretrained
Resnet-18, Resnet-34, Resnet-50, ......, Resnet-200
AttributeError: type object 'torch.cuda.FloatStorage' has no attribute 'from_buffer'

https://github.com/umich-vl/pose-hg-demo
Stacked-Hourglass
KeyError: 'torch.CudaTensor'

How to overcome these issues?
Thanks in advance...

@dmortem
Copy link

dmortem commented Aug 19, 2018

Hi, I have the same problem when I convert hourglass model to pytorch version, how can I solve it? Thanks a lot!

@salihkaragoz
Copy link
Author

Hi, As far as I remember I didn't succeed in converting the model. Because the hourglass model has some different layers(blocks) which are absent in torch.legacy. You can try directly the pytorch version of Hourglass. (https://github.com/bearpaw/pytorch-pose)
Have a look these issues to understand problem.
#37 #33 #30 #26
👋

@dmortem
Copy link

dmortem commented Sep 7, 2018

Thank you!

@vsoorya
Copy link

vsoorya commented Nov 23, 2018

@dmortem Hi, did you succeed in converting the hour glass model to pytorch? If so, can you please share how you did it?
Thanks

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