Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix undefined name in a3c example
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Aug 13, 2018
1 parent 6505674 commit 774bf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/reinforcement-learning/a3c/a3c.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test():
mx.gpu(int(i)) for i in args.gpus.split(',')]

# module
dataiter = robo_data.RobosimsDataIter('scenes', args.batch_size, args.input_length, web_viz=True)
dataiter = rl_data.GymDataIter('scenes', args.batch_size, args.input_length, web_viz=True)
print(dataiter.provide_data)
net = sym.get_symbol_thor(dataiter.act_dim)
module = mx.mod.Module(net, data_names=[d[0] for d in dataiter.provide_data], label_names=('policy_label', 'value_label'), context=devs)
Expand Down

0 comments on commit 774bf01

Please sign in to comment.