fb5faeee9ef1ddd3cf40c1f11e2ef92dfaf9a87a,rlkit/samplers/data_collector/step_collector.py,GoalConditionedStepCollector,collect_new_step,#GoalConditionedStepCollector#Any#Any#Any#,60
Before Change
self._obs[self._desired_goal_key],
))
action, agent_info = self._policy.get_action(new_obs)
next_ob, reward, terminal, env_info = (
self._env.step(action)
)
terminal = np.array([terminal])
reward = np.array([reward])
// store path obs
self._current_path_builder.add_all(
After Change
num_steps,
discard_incomplete_paths,
):
for _ in range(num_steps):
self.collect_one_step(max_path_length, discard_incomplete_paths)
def collect_one_step(
self,
max_path_length,
discard_incomplete_paths,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: vitchyr/rlkit
Commit Name: fb5faeee9ef1ddd3cf40c1f11e2ef92dfaf9a87a
Time: 2019-04-10
Author: frank.hexiang@gmail.com
File Name: rlkit/samplers/data_collector/step_collector.py
Class Name: GoalConditionedStepCollector
Method Name: collect_new_step
Project Name: Kaixhin/Rainbow
Commit Name: 5ec418e8146079d6797bb15b0f5e777862815df6
Time: 2018-05-07
Author: design@kaixhin.com
File Name: env.py
Class Name: Env
Method Name: reset
Project Name: openai/baselines
Commit Name: b71152eea0470ac2629c33e0fc66a54fe494949f
Time: 2018-02-26
Author: matthiasplappert@me.com
File Name: baselines/common/vec_env/dummy_vec_env.py
Class Name: DummyVecEnv
Method Name: step_wait