MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / get_output_dir

Function get_output_dir

eval.py:124–133  ·  view source on GitHub ↗

Return the directory where experimental artifacts are placed. If the directory does not exist, it is created. A canonical path is built using the name from an imdb and a network (if not None).

(name, phase)

Source from the content-addressed store, hash-verified

122
123
124def get_output_dir(name, phase):
125 """Return the directory where experimental artifacts are placed.
126 If the directory does not exist, it is created.
127 A canonical path is built using the name from an imdb and a network
128 (if not None).
129 """
130 filedir = os.path.join(name, phase)
131 if not os.path.exists(filedir):
132 os.makedirs(filedir)
133 return filedir
134
135
136def get_voc_results_file_template(image_set, cls):

Callers 1

test_netFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_netFunction · 0.68