more fixes in deep_mimic env

This commit is contained in:
Erwin Coumans 2019-02-11 09:15:42 -08:00
parent 1bd201eb43
commit 2728294c53
6 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ print("parentdir=",parentdir)
from pybullet_envs.deep_mimic.env.pybullet_deep_mimic_env import PyBulletDeepMimicEnv
from pybullet_envs.deep_mimic.learning.rl_world import RLWorld
from pybullet_utils.logger import Logger
from testrl import update_world, update_timestep, build_world
from pybullet_envs.deep_mimic.testrl import update_world, update_timestep, build_world
import pybullet_utils.mpi_util as MPIUtil
args = []

View File

@ -161,7 +161,7 @@ class RLAgent(ABC):
return self._enable_training
def set_enable_training(self, enable):
print("set_enable_training!=", enable)
print("set_enable_training=", enable)
self._enable_training = enable
if (self._enable_training):
self.reset()
@ -593,4 +593,4 @@ class RLAgent(ABC):
self.logger.log_tabular("Exp_Rate", self.exp_params_curr.rate)
self.logger.log_tabular("Exp_Noise", self.exp_params_curr.noise)
self.logger.log_tabular("Exp_Temp", self.exp_params_curr.temp)
return
return