MCPcopy
hub / github.com/dbolya/yolact / dump

Method dump

eval.py:332–340  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

330 })
331
332 def dump(self):
333 dump_arguments = [
334 (self.bbox_data, args.bbox_det_file),
335 (self.mask_data, args.mask_det_file)
336 ]
337
338 for data, path in dump_arguments:
339 with open(path, 'w') as f:
340 json.dump(data, f)
341
342 def dump_web(self):
343 """ Dumps it in the format for my web app. Warning: bad code ahead! """

Callers 6

evaluateFunction · 0.95
dump_webMethod · 0.80
mix_sets.pyFile · 0.80
augment_boxesFunction · 0.80
save_bboxes.pyFile · 0.80
convert_sbd.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected