gail-tf
gail-tf copied to clipboard
Question about /dataset/mujoco.py
What the different between gail-tf/dataset/mujoco.py with openai/baselines/baselines/gail/dataset/mujoco_dset.py
When i use baseline/gail to imitation train the model generated by your /gail-tf/ppo1, error ouput :
Traceback (most recent call last):
File "baselines/gail/run_mujoco.py", line 240, in <module>
main(args)
File "baselines/gail/run_mujoco.py", line 89, in main
dataset = Mujoco_Dset(expert_path=args.expert_path, traj_limitation=args.traj_limitation)
File "/home/huang/baselines/baselines/gail/dataset/mujoco_dset.py", line 46, in __init__
traj_limitation = len(traj_data['obs'])
TypeError: list indices must be integers or slices, not str
@huangjiancong1 Hi could you provide a sample of your expert data? Thanks.