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

Error when trying to create a record_numericalizer in the Deduplication notebook #30

Closed
azfarulis opened this issue Jul 9, 2021 · 4 comments

Comments

@azfarulis
Copy link

azfarulis commented Jul 9, 2021

Hi vintasoftware,

This is my first time writing up a bug report.

I was trying out the Deduplication notebook on Google Colab (GPU + High-ram shape), and when I get to the stage for creating record_numericalizer it throws an AttributeError saying that:

'Vocab' object has no attribute 'load_vectors'

Here is a screenshot attached:

Screenshot 2021-07-09 at 23 12 47

I was following the notebook as structured without any deviation.

Please let me know if I can add any more information to help.

@fjsj
Copy link
Member

fjsj commented Jul 10, 2021

Thanks for the report, I'll check this in the next couple of days.

@fjsj
Copy link
Member

fjsj commented Jul 16, 2021

@azfarulis there has been a change in torchtext that broke it's API. I'll be fixing the requirements today. Thanks for reporting the issue. A quick solution right now is forcing the right versions in your Colab by adding below the "Boilerplate" section a new cell including this:

!pip install "torch>=1.7.1,<1.9"
!pip install "torchtext>=0.8,<0.10"
!pip install "torchvision>=0.8.2<0.10"
!pip install "pytorch_lightning>=1.1.6,<1.3"

@azfarulis
Copy link
Author

@fjsj Thanks for the heads up. Will try it out and report back!

@fjsj
Copy link
Member

fjsj commented Jul 16, 2021

@azfarulis
This issue is now fixed on main branch and released as version 0.0.6

Please factory reset your runtimes at Colab and try again. Closing this issue for now. Thanks again for reporting the issue! Please let us know if you find other problems.

@fjsj fjsj closed this as completed Jul 16, 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

2 participants