MCPcopy Create free account
hub / github.com/cpystan/SD-VLM / parse_args

Function parse_args

scripts/extract_mm_projector.py:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def parse_args():
16 parser = argparse.ArgumentParser(description='Extract MMProjector weights')
17 parser.add_argument('--model-path', type=str, help='model folder')
18 parser.add_argument('--output', type=str, help='output file')
19 args = parser.parse_args()
20 return args
21
22
23if __name__ == '__main__':

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected