(self, root:str='')
| 112 | self.iteration = iteration |
| 113 | |
| 114 | def get_path(self, root:str=''): |
| 115 | file_name = self.model_name + '_' + str(self.epoch) + '_' + str(self.iteration) + '.pth' |
| 116 | return os.path.join(root, file_name) |
| 117 | |
| 118 | @staticmethod |
| 119 | def from_str(path:str): |