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

TypeError: load_vectors() got an unexpected keyword argument 'unk_init' #89

Closed
NPSDC opened this issue Apr 15, 2021 · 3 comments
Closed

Comments

@NPSDC
Copy link

NPSDC commented Apr 15, 2021

When trying to run the models using luigi calling AllGuesserReports, I get the following error;

TypeError: load_vectors() got an unexpected keyword argument 'unk_init'. Also attaching the screenshot. Any suggestions what I might be doing wrong would be appreciated.


error

@EntilZha
Copy link
Member

(meta note, its easier to copy/paste text in code blocks than read screenshots)

Could you give information about which versions of packages you have installed? My first instinct is that our code relies on an older version of torchtext and if you are using a new version then the arguments might not match.

@NPSDC
Copy link
Author

NPSDC commented Apr 16, 2021

The version I am using for torchtext 0.2.3 and for pytorch 0.3.0. Is there any other package version information that I can provide?

@GeneralPoxter
Copy link
Contributor

GeneralPoxter commented Apr 22, 2021

This seems to be a pytorch version discrepancy. The current master branch of qanta seems to be using pytorch 1.7 or something. This issue seems to shed light on this.

@NPSDC NPSDC closed this as completed May 3, 2021
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