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

Function nondefault_trainer_args

train.py:308–312  ·  view source on GitHub ↗
(opt)

Source from the content-addressed store, hash-verified

306
307
308def nondefault_trainer_args(opt):
309 parser = argparse.ArgumentParser()
310 parser = Trainer.add_argparse_args(parser)
311 args = parser.parse_args([])
312 return sorted(k for k in vars(args) if getattr(opt, k) != getattr(args, k))
313
314
315class WrappedDataset(Dataset):

Callers 1

train.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected