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

Update PyTorch API use #8

Open
virtualritz opened this issue Jan 2, 2019 · 7 comments
Open

Update PyTorch API use #8

virtualritz opened this issue Jan 2, 2019 · 7 comments

Comments

@virtualritz
Copy link

Apparently, sketch_simplifaction uses a deprecated/no longer existing module in PyTorch, see here for details.

$ python simplify.py
Traceback (most recent call last):
  File "simplify.py", line 4, in <module>
    from torch.utils.serialization import load_lua
ImportError: No module named serialization
@bobbens
Copy link
Owner

bobbens commented Mar 20, 2019

Solution for now is to use pytorch 0.4.1 until I can get around to uploading the new models which are native pytorch.

@bobbens bobbens mentioned this issue Mar 20, 2019
@ramilmsh
Copy link

ramilmsh commented Jul 3, 2019

@bobbens Hi, I have managed to migrate to torch 1.x, using a conversion tool to update the model files, would you like me to create a pull request for it and upload the updated model?

@ramilmsh
Copy link

ramilmsh commented Jul 4, 2019

I have uploaded new models here https://mega.nz/#F!2lUn1YbY!JhTkB1vdaBMeTCSs37iTVA. I have not gone too deep into the code, simply made it work with torch 1.1.0
#12

@Sushanthcheerla99
Copy link

i am getting a error while compiling the code simplify ....unknown type id 1064941863. The file may be corrupted (regarding the pretrained models)

@ramilmsh
Copy link

@Sushanthcheerla99 I don't think i will return to this, so i suggest you try converting the models on your own computer, it is a bit of a pain, but solutions are publicly available and they (with some bugfixing) work

@krummrey
Copy link

krummrey commented Dec 10, 2021

This pull version works great, even without a CUDA GPU!
#12

@ramgj28
Copy link

ramgj28 commented Mar 26, 2022

torchfile is an alternative for this i think. You might want to check it out.

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

6 participants