(self, start_epoch=0)
| 143 | self.ready_env_ids = np.arange(self.env_num) |
| 144 | |
| 145 | def train(self, start_epoch=0): |
| 146 | self.pretrain() |
| 147 | if start_epoch == 0: |
| 148 | params = self.get_epoch_snapshot(-1) |
| 149 | logger.save_itr_params(-1, params) |
| 150 | self.training_mode(False) |
| 151 | # self._n_env_steps_total = start_epoch * self.num_env_steps_per_epoch |
| 152 | gt.reset() |
| 153 | gt.set_def_unique(False) |
| 154 | self.start_training(start_epoch=start_epoch) |
| 155 | |
| 156 | def pretrain(self): |
| 157 | """ |
no test coverage detected