MCPcopy Create free account
hub / github.com/imrahulr/hat / clear_data

Function clear_data

core/setup.py:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 _setup(data_dir, 'val')
39
40def clear_data():
41 tmp_dir = os.environ['TMPDIR']
42 if os.path.isdir(os.path.join(tmp_dir, 'imagenet100')):
43 shutil.rmtree(os.path.join(tmp_dir, 'imagenet100'))
44 print (f'Cleared up TMPDIR.')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…