MCPcopy Create free account
hub / github.com/adobe-research/custom-diffusion / parse_args

Function parse_args

src/get_deltas.py:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40
41def parse_args():
42 parser = argparse.ArgumentParser('', add_help=False)
43 parser.add_argument('--path', help='path of folder to checkpoints',
44 type=str)
45 parser.add_argument('--newtoken', help='number of new tokens in the checkpoint', default=1,
46 type=int)
47 return parser.parse_args()
48
49
50if __name__ == "__main__":

Callers 1

get_deltas.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected