Cant import keras-rl in jupyter notebooks

1.3k Views Asked by At

I have been trying to import kera-rl into my jupyter notebook but i get this error every time i try.

ModuleNotFoundError: No module named 'rl'

How do I stop getting this error?

2

There are 2 best solutions below

1
On

In the keras-rl repo you'll see a folder named rl. All the import modules you need are in here, to import you need to use from rl.something import something.

Check the example folder for multiple walkthroughs.

0
On

upgrade to keras-rl2 ,for more information on implementation check out this video: https://www.youtube.com/watch?v=iaiqPPxq_5s&t=15s