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

Add parameter allow_pickle = True to common.utils.process_imdb() #108

Open
lebensterben opened this issue Apr 28, 2019 · 0 comments
Open

Comments

@lebensterben
Copy link

When processing the IMDB data for RNN, I got an error which suggests to allow pickle.

I found the following fix works for me:

  • In common/utils.py, change line 177 to with np.load('imdb.npz', allow_pickle = True) as f: from with np.load('imdb.npz') as f:
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

1 participant