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

'torch.jit' has no attribute 'unused' #17

Closed
AmoghTiwari opened this issue Aug 18, 2021 · 2 comments
Closed

'torch.jit' has no attribute 'unused' #17

AmoghTiwari opened this issue Aug 18, 2021 · 2 comments

Comments

@AmoghTiwari
Copy link

AmoghTiwari commented Aug 18, 2021

I followed all the steps written in the README. But I get the following error when I try to run the code on the example sequence: AttributeError: 'torch.jit' has no attribute 'unused'

@danielgehrig18
Copy link
Contributor

Can you share where in the code this error occurs?

@AmoghTiwari
Copy link
Author

AmoghTiwari commented Aug 26, 2021

Hi, thanks for the reply. I was able to resolve the issue though, forgot to close it.

The issue had something to do with PyTorch and torchvision versions/compatibility.

I ran the following two commands to fix the issue.
pip uninstall torch torchvision
pip install torch torchvision

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

2 participants