MCPcopy Create free account
hub / github.com/AtlasAnalyticsLab/AdaFisher / create_dir

Method create_dir

Image_Classification/src/train.py:249–253  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

247
248 def create_output_dir(self, checkpoint: bool = False):
249 def create_dir(path: Path):
250 if not path.exists():
251 print(f"Info: Directory {path} does not exist, building")
252 path.mkdir(exist_ok=True, parents=True)
253 return path
254
255 opt = self.config['optimizer']
256 net = self.config['network']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected