rlcode / reinforcement-learning

Minimal and Clean Reinforcement Learning Examples
MIT License
3.35k stars 725 forks source link

Can this code run other atari game beside breakout? #98

Open THSWind opened 4 years ago

THSWind commented 4 years ago

I want to run other atari game, it's performance looks doesn't good. Could anyone help me? Whether I can achieve this goal by change "gym.make('ENV_NAME')", and it's real_action? help me plllllz, appreciate so MUCH I have changed the code like I wrote above, it's performance not so good, and occurs some ERRORS. like this: TypeError: unsupported operand type(s) for /: 'tuple' and 'float'Traceback (most recent call last):

File "ddqn_spaceinvaders.py", line 372, in agent.train_replay(step) File "ddqn_spaceinvaders.py", line 235, in train_replay history[i] = np.float32(mini_batch[i][0] / 255.)