MCPcopy Create free account
hub / github.com/coperception/star / check_folder

Function check_folder

completion/test_codet.py:30–33  ·  view source on GitHub ↗
(folder_path)

Source from the content-addressed store, hash-verified

28import timm.optim.optim_factory as optim_factory
29
30def check_folder(folder_path):
31 if not os.path.exists(folder_path):
32 os.mkdir(folder_path)
33 return folder_path
34
35
36@torch.no_grad()

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected