mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
more fixes in deep_mimic env
This commit is contained in:
parent
1bd201eb43
commit
2728294c53
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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 = []
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user