MCPcopy Create free account
hub / github.com/EryiXie/PlaneRecNet / get_path

Method get_path

utils/utils.py:114–116  ·  view source on GitHub ↗
(self, root:str='')

Source from the content-addressed store, hash-verified

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):

Callers 1

trainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected