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

Train experts for AIRL environments #68

Merged
merged 15 commits into from
Aug 15, 2019
Prev Previous commit
Next Next commit
Fix lint/Travis/imports
  • Loading branch information
shwang committed Jul 31, 2019
commit ca6ca843fe55f0762026bb3b7a54820b4c84c692
2 changes: 1 addition & 1 deletion src/imitation/scripts/config/data_collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sacred

import imitation.examples.airl_envs
import imitation.examples.airl_envs # noqa: F401
from imitation.scripts.config.common import DEFAULT_BLANK_POLICY_KWARGS
from imitation.util import util

Expand Down
3 changes: 2 additions & 1 deletion src/imitation/scripts/config/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from stable_baselines.common import policies

from imitation import util
import imitation.examples.airl_envs # noqa: F401
from imitation.policies import base
from imitation.scripts.config.common import DEFAULT_BLANK_POLICY_KWARGS

Expand Down Expand Up @@ -149,7 +150,7 @@ def walker():

@train_ex.named_config
def two_d_maze():
env_name = "imitation/TwoDMaze-v0
env_name = "imitation/TwoDMaze-v0"


@train_ex.named_config
Expand Down
1 change: 0 additions & 1 deletion src/imitation/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import tensorflow as tf
import tqdm

import imitation.examples.airl_envs
from imitation.scripts.config.train import train_ex
import imitation.util as util
from imitation.util.trainer import init_trainer
Expand Down