question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot run default implementation of GAIL

See original GitHub issue

Hi all,

Thanks so much for putting this together, I’m very excited about it!

I am trying to run the default implementation of GAIL, but it is throwing an error about the input policy being the wrong type as shown below. Note that I already downloaded the default expert data for the deterministic Hopper expert, and that it is logging out the return stats on the data.

AssertionError: Error: the input policy for the TRPO model must be an instance of common.policies.ActorCriticPolicy.```

How to reproduce:
In command line: `python -m stable_baselines.gail.run_mujoco`

Please let me know if I'm missing something, thanks again!


Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
araffincommented, Feb 11, 2019

@flaurida @krishpop I started working on updating GAIL (branch gail-test). I’m also adapting it to make it work with other environments (not only mujoco ones) and check at the same time the performance.

1reaction
krishpopcommented, Nov 17, 2018

Yes, thanks for clarifying. I will try fixing that, test, and send a PR soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

GAIL — Stable Baselines 2.10.3a0 documentation
Step 2: Run GAIL¶. In case you want to run Behavior Cloning (BC). Use the .pretrain() method (cf guide). Others. Thanks to the...
Read more >
Generative Adversarial Imitation Learning · Issue #302 - GitHub
I am thinking about implementing GAIL using TensorForce. ... it can't just literally be implemented as a subclass to Preprocessor , but just ......
Read more >
How to install gail and atk-bridge? - Ask Ubuntu
I'm trying to run import.io on ubuntu 14.04 64 bit. It says. Gtk-Message: Failed to load module "gail" Gtk-Message: Failed to load module ......
Read more >
GAIL with visual observations - Unity Forum
Hi, I'm trying to use GAIL with visual observations and I'm having some trouble figuring out how to set everything up.
Read more >
Need a reliable repository for GAIL/PPO in continuous action ...
I am unable to find a reliable source code for PPO/GAIL in ... code I have is DDPG for which I didn't find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found