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

Function parse_args

customconcept101/evaluate.py:277–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275
276
277def parse_args():
278 parser = argparse.ArgumentParser("metric", add_help=False)
279 parser.add_argument("--sample_root", type=str,
280 help="the root folder to generated images")
281 parser.add_argument("--numgen", type=int, default=100,
282 help="total number of images.")
283 parser.add_argument("--target_paths", type=str,
284 help="+ separated paths to real target images")
285 parser.add_argument("--outpkl", type=str, default="evaluation.pkl",
286 help="the path to save result pkl file")
287 return parser.parse_args()
288
289
290def main(args):

Callers 1

evaluate.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected