aimacode / aima-python

Python implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
MIT License
8.07k stars 3.81k forks source link

Resolve #1262. Fixed test error for deep_learning4e.py #1277

Open meloncruuush opened 1 year ago

meloncruuush commented 1 year ago

As of now, running py.test shows the following output:

test_failure

The problem lies in the imports of the _deeplearning4e.py file. Keras moved around a few things, and I fixed the import to accomodate this changes. Now all the tests run successfully:

test_success