Pinafore / qb

QANTA Quiz Bowl AI
MIT License
167 stars 50 forks source link

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

Closed NPSDC closed 3 years ago

NPSDC commented 3 years ago

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 commented 3 years ago

(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 commented 3 years ago

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 commented 3 years ago

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.