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

Function parse_args

src/compress.py:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56
57def parse_args():
58 parser = argparse.ArgumentParser('', add_help=False)
59 parser.add_argument('--delta_ckpt', help='path of checkpoint to compress',
60 type=str)
61 parser.add_argument('--ckpt', help='path of pretrained model checkpoint',
62 type=str)
63 parser.add_argument("--diffuser", action='store_true')
64 return parser.parse_args()
65
66
67if __name__ == "__main__":

Callers 1

compress.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected