Skip to content

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

@lebensterben

Description

@lebensterben

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions