c2_w1_Assignment prepare_data.py

Hello, I’m having problems with the file prepare_data.py. I have passed max_seq_length in max_length and saved via File-> Save Notebook, but I always get this grade:
image

Also my bar plot look like this:
image
and I don’t know why this is wrong.

Thanks.

Hi @ivangrijalva,

Welcome to discourse and thanks for sharing. :slight_smile:

Have you tried to upload the notebook again and then saving it? This is in the last instructed cell of the notebook in a code line ready to run…

2 Likes

Thanks @Raul, the problem was solved uploading the notebook and the .py file again.

2 Likes