PacktPublishing / Deep-Reinforcement-Learning-Hands-On

Hands-on Deep Reinforcement Learning, published by Packt
MIT License
2.85k stars 1.3k forks source link

Can not run Deep-Reinforcement-Learning-Hands-On/Chapter03/03_atari_gan.py due to np.isscalar assertion #57

Open SiweiLuo opened 5 years ago

SiweiLuo commented 5 years ago

Can not run Deep-Reinforcement-Learning-Hands-On/Chapter03/03_atari_gan.py due to np.isscalar assertion

Shmuma commented 5 years ago

Which version of ptan you have installed?

If you run pip install ptan, you'll get the latest version, which is not compatible with 1st edition of the book samples. To get the version you need, please run (as suggested in the book's text and requirements.txt file): pip install ptan==0.3