MCPcopy
hub / github.com/DLR-RM/stable-baselines3 / get_env

Method get_env

stable_baselines3/common/base_class.py:459–465  ·  view source on GitHub ↗

Returns the current environment (can be None if not defined). :return: The current environment

(self)

Source from the content-addressed store, hash-verified

457 self.ep_success_buffer.append(maybe_is_success)
458
459 def get_env(self) -> VecEnv | None:
460 """
461 Returns the current environment (can be None if not defined).
462
463 :return: The current environment
464 """
465 return self.env
466
467 def get_vec_normalize_env(self) -> VecNormalize | None:
468 """

Callers 12

training_envMethod · 0.80
test_set_envFunction · 0.80
test_goal_envFunction · 0.80
test_evaluate_policyFunction · 0.80
test_cnnFunction · 0.80
test_channel_first_envFunction · 0.80
test_train_freqFunction · 0.80

Calls

no outgoing calls

Tested by 11

test_set_envFunction · 0.64
test_goal_envFunction · 0.64
test_evaluate_policyFunction · 0.64
test_cnnFunction · 0.64
test_channel_first_envFunction · 0.64
test_train_freqFunction · 0.64