awslabs / amazon-sagemaker-workshop

Amazon SageMaker workshops: Introduction, TensorFlow in SageMaker, and more
Apache License 2.0
381 stars 211 forks source link

Numpy error in sentiment analysis jupyter notebook(s) #5

Closed limivorous closed 5 years ago

limivorous commented 5 years ago

Within the sentiment analysis jupyter notebook (sentiment-analysis.ipynb) you receive an error, which makes it unusable, when trying to run: (x_train, y_train), (x_test, y_test) = imdb.load_data(num_words=max_features) Error: ValueError: Object arrays cannot be loaded when allow_pickle=False

rabowskyb commented 5 years ago

This was due to a Numpy version incompatability with Keras datasets; a fix has been pushed.