MCPcopy Index your code
hub / github.com/NVlabs/SPADE / load_options

Method load_options

options/base_options.py:143–146  ·  view source on GitHub ↗
(self, opt)

Source from the content-addressed store, hash-verified

141 return parser
142
143 def load_options(self, opt):
144 file_name = self.option_file_path(opt, makedir=False)
145 new_opt = pickle.load(open(file_name + '.pkl', 'rb'))
146 return new_opt
147
148 def parse(self, save=False):
149

Callers 1

Calls 1

option_file_pathMethod · 0.95

Tested by

no test coverage detected