(self, network, network_label, epoch_label)
| 42 | |
| 43 | # helper loading function that can be used by subclasses |
| 44 | def load_network(self, network, network_label, epoch_label): |
| 45 | save_filename = '%s_net_%s.pth' % (epoch_label, network_label) |
| 46 | save_path = os.path.join(self.save_dir, save_filename) |
| 47 | print('Loading network from %s'%save_path) |
| 48 | network.load_state_dict(torch.load(save_path)) |
| 49 | |
| 50 | def update_learning_rate(): |
| 51 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected