d26dc2528dc1acf010e91371f4d6d97bce91c115,osim/env/osim.py,OsimEnv,__init__,#OsimEnv#Any#Any#,299
Before Change
self.action_space = ( [0.0] * self.osim_model.get_action_space_size(), [1.0] * self.osim_model.get_action_space_size() )
if not self.observation_space:
// self.observation_space = ( [-math.pi*100] * self.get_observation_space_size(), [math.pi*100] * self.get_observation_space_s
self.observation_space = ( [0] * self.get_observation_space_size(), [0] * self.get_observation_space_size() )
self.action_space = convert_to_gym(self.action_space)
self.observation_space = convert_to_gym(self.observation_space)
def get_state_desc(self):
After Change
def __init__(self, visualize = True, integrator_accuracy = 5e-5):
self.visualize = visualize
self.integrator_accuracy = integrator_accuracy
self.load_model()
def load_model(self, model_path = None):
if model_path:
self.model_path = model_path
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: stanfordnmbl/osim-rl
Commit Name: d26dc2528dc1acf010e91371f4d6d97bce91c115
Time: 2018-05-13
Author: lukasz.kidzinski@gmail.com
File Name: osim/env/osim.py
Class Name: OsimEnv
Method Name: __init__
Project Name: raghakot/keras-vis
Commit Name: 2443550ee6915daf6e7ff6306f3dc2922752ea4b
Time: 2017-07-09
Author: ragha@outlook.com
File Name: vis/backend/tensorflow_backend.py
Class Name:
Method Name: modify_model_backprop
Project Name: mozilla/bugbug
Commit Name: 0a5e37439d629beea8f9ad0feaaac50998ae7ec7
Time: 2019-05-16
Author: lothiraldan@gmail.com
File Name: scripts/check.py
Class Name: ModelChecker
Method Name: go