MCPcopy Create free account
hub / github.com/Ericonaldo/ILSwiss / set_steps

Method set_steps

rlkit/core/base_algorithm.py:548–559  ·  view source on GitHub ↗
(
        self,
        n_env_steps_total,
        n_rollouts_total,
        n_train_steps_total,
        n_prev_train_env_steps,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

546 self.exploration_policy = snapshot["policy"]
547
548 def set_steps(
549 self,
550 n_env_steps_total,
551 n_rollouts_total,
552 n_train_steps_total,
553 n_prev_train_env_steps,
554 **kwargs,
555 ):
556 self._n_env_steps_total = n_env_steps_total
557 self._n_rollouts_total = n_rollouts_total
558 self._n_train_steps_total = n_train_steps_total
559 self._n_prev_train_env_steps = n_prev_train_env_steps
560
561 def get_extra_data_to_save(self, epoch):
562 """

Callers 1

load_from_fileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected