MCPcopy Index your code
hub / github.com/llSourcell/YOLO_Object_Detection / _get_dir

Function _get_dir

darkflow/cli.py:11–14  ·  view source on GitHub ↗
(dirs)

Source from the content-addressed store, hash-verified

9
10 # make sure all necessary dirs exist
11 def _get_dir(dirs):
12 for d in dirs:
13 this = os.path.abspath(os.path.join(os.path.curdir, d))
14 if not os.path.exists(this): os.makedirs(this)
15 _get_dir([FLAGS.imgdir, FLAGS.binary, FLAGS.backup,
16 os.path.join(FLAGS.imgdir,'out'), FLAGS.summary])
17

Callers 1

cliHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected