Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about /dataset/mujoco.py #20

Open
huangjiancong1 opened this issue Sep 11, 2018 · 2 comments
Open

Question about /dataset/mujoco.py #20

huangjiancong1 opened this issue Sep 11, 2018 · 2 comments

Comments

@huangjiancong1
Copy link

What the different between gail-tf/dataset/mujoco.py with openai/baselines/baselines/gail/dataset/mujoco_dset.py

@huangjiancong1
Copy link
Author

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

@zyzhang1130
Copy link

@huangjiancong1 Hi could you provide a sample of your expert data? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants