MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / save_opt_to_json

Function save_opt_to_json

utils/arguments.py:110–112  ·  view source on GitHub ↗
(opt, conf_file)

Source from the content-addressed store, hash-verified

108
109
110def save_opt_to_json(opt, conf_file):
111 with open(conf_file, 'w', encoding='utf-8') as f:
112 json.dump(opt, f, indent=4)
113
114
115def save_opt_to_yaml(opt, conf_file):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected