(self, obz)
| 223 | return net_out |
| 224 | |
| 225 | def preprocess_obz(self, obz): |
| 226 | for camera in obz['cameras']: |
| 227 | image = camera['image'] |
| 228 | image = image.astype(np.float32) |
| 229 | image -= c.MEAN_PIXEL |
| 230 | camera['image'] = image |
| 231 | return obz |
| 232 | |
| 233 | def set_random_action_repeat_count(self): |
| 234 | if self.semirandom_sequence_step == (self.random_action_count + self.non_random_action_count): |