MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / load_dict

Function load_dict

functions.py:72–79  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

70
71
72def load_dict(filename):
73 try:
74 with open(filename, 'r') as json_file:
75 dic = json.load(json_file)
76 return dic
77 except:
78 logging.info('json file error {}'.format(filename))
79 return {}
80
81
82def get_img_list(path):

Callers 1

get_obj_onehot_vectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected