fixing flataction discriminator to convert to float beforehand, adding necessary forward calls in expert, adding Fire to video creator from model, and trying full run of options gail with new discrimination model

This commit is contained in:
Arec
2021-10-11 08:47:18 -07:00
parent 01752fac12
commit 70e55327dc
4 changed files with 37 additions and 17 deletions

View File

@@ -79,6 +79,12 @@ class DummyVecEnvPolicy(BasePolicy):
actions = [p[0] for p in predictions]
states = [p[1] for p in predictions]
return actions, states
def forward(self, *args, **kwargs):
raise NotImplementedError()
def _predict(self, *args, **kwargs):
raise NotImplementedError()
def save_video(env, expert):
env.reset()