emdqn icon indicating copy to clipboard operation
emdqn copied to clipboard

Error in train_cartpole.py

Open ghost opened this issue 6 years ago • 1 comments
trafficstars

Hello LinZichuan,

I tried your train_cartpole.py, but got:

Traceback (most recent call last): File "train_cartpole.py", line 31, in main() File "train_cartpole.py", line 24, in main callback=callback File "c:\emdqn-master\baselines\deepq\simple.py", line 235, in learn td_errors = train(obses_t, actions, rewards, obses_tp1, dones, weights) File "c:\emdqn-master\baselines\common\tf_util.py", line 442, in call assert inpt in self.givens, "Missing argument " + inpt_name AssertionError: Missing argument qec

   Thanks for your help!

ghost avatar May 08 '19 18:05 ghost

Hello LinZichuan,

I tried your train_cartpole.py, but got:

Traceback (most recent call last): File "train_cartpole.py", line 31, in main() File "train_cartpole.py", line 24, in main callback=callback File "c:\emdqn-master\baselines\deepq\simple.py", line 235, in learn td_errors = train(obses_t, actions, rewards, obses_tp1, dones, weights) File "c:\emdqn-master\baselines\common\tf_util.py", line 442, in call assert inpt in self.givens, "Missing argument " + inpt_name AssertionError: Missing argument qec

   Thanks for your help!

Hi, I didn't conduct experiment on cartpole, just on Atari games, and there might be some mismatch code between training atari and training cartpole.

LinZichuan avatar May 09 '19 15:05 LinZichuan