(self)
| 90 | self.data_processor = DataProcessor(opt) |
| 91 | |
| 92 | def load_model(self) -> None: |
| 93 | self.G = FLOAT(self.opt) |
| 94 | |
| 95 | def load_weight(self, checkpoint_path: str, rank: int) -> None: |
| 96 | state_dict = torch.load(checkpoint_path, map_location='cpu', weights_only=True) |