DeepLearningFrameworks icon indicating copy to clipboard operation
DeepLearningFrameworks copied to clipboard

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

Open lebensterben opened this issue 7 years ago • 0 comments

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:

lebensterben avatar Apr 28 '19 05:04 lebensterben