PacktPublishing / Deep-Reinforcement-Learning-Hands-On

Hands-on Deep Reinforcement Learning, published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

SiweiLuo opened this issue · comments

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

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