DOsinga / deep_learning_cookbook

Deep Learning Cookbox
Apache License 2.0
686 stars 335 forks source link

Jupyter notebook 03.1 raises ValueError: not enough values to unpack,( expected 2 got 0) #65

Closed Rexfarell closed 4 years ago

Rexfarell commented 4 years ago

What really puzzles me is that the first time I ran this notebook it worked fine. Then, five minutes later or less, I reran it and it never worked ever since. I did not change anything in the environment that I know of.

Could you please point me in the right direction with this issue?

image

DOsinga commented 4 years ago

That's very strange. The only thing I can imagine is that somehow the downloaded file got corrupted. Try deleting it and re-downloading it maybe?

Rexfarell commented 4 years ago

Thank you for your quick reply. I will reclone the whole repository then. By the way, I am enjoying your book very much.

On Tue, Nov 12, 2019, 11:44 AM Douwe Osinga notifications@github.com wrote:

That's very strange. The only thing I can imagine is that somehow the downloaded file got corrupted. Try deleting it and re-downloading it maybe?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DOsinga/deep_learning_cookbook/issues/65?email_source=notifications&email_token=AKBEWBJPQUED4QFKEW6RZY3QTIKA3A5CNFSM4JL5MHVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDY2YAQ#issuecomment-552709122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBEWBJARQ3XN7YQDDHBWPDQTIKA3ANCNFSM4JL5MHVA .

DOsinga commented 4 years ago

That's great to hear about the book! I don't think you need to re-clone the repository, if you just print the unzipped variable and delete whatever file it says there, you should be good. Or even just change the value of MODEL