MCPcopy Create free account
hub / github.com/dome272/Diffusion-Models-pytorch / launch

Function launch

ddpm_conditional.py:112–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def launch():
113 import argparse
114 parser = argparse.ArgumentParser()
115 args = parser.parse_args()
116 args.run_name = "DDPM_conditional"
117 args.epochs = 300
118 args.batch_size = 14
119 args.image_size = 64
120 args.num_classes = 10
121 args.dataset_path = r"C:\Users\dome\datasets\cifar10\cifar10-64\train"
122 args.device = "cuda"
123 args.lr = 3e-4
124 train(args)
125
126
127if __name__ == '__main__':

Callers 1

Calls 1

trainFunction · 0.70

Tested by

no test coverage detected