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

Quick Fix if trouble getting an error when assigning wiki_itos in 5-nn-imdb.ipynb #33

Open
hemphillmc opened this issue Jan 5, 2020 · 1 comment

Comments

@hemphillmc
Copy link

At least in the Google Colab version doc, the line below points to a file that doesn't exist and thus causes an error:

wiki_itos = pickle.load(open(Config().model_path()/'wt103-1/itos_wt103.pkl', 'rb'))

Quick fix is to change the name of directory as shown below:

wiki_itos = pickle.load(open(Config().model_path()/'wt103-fwd/itos_wt103.pkl', 'rb'))

Hope this helps!

@jdmtr
Copy link

jdmtr commented Feb 17, 2020

Thank you! I am having that exact problem while running that nb in jupyter on a server. I'll try making that change to my notebook. Also, #37 was just merged which made some substantial changes to nb 5 but I'm going to stick to the old one for the moment so I can directly follow along with the lecture.

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