MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / get_args

Function get_args

train_code/train_wan_motion.py:137–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136
137def get_args():
138 parser = argparse.ArgumentParser(description="Simple example of a ControlNet training script.")
139 parser.add_argument(
140 "--config_path",
141 type = str,
142 default = "config/train_wan_motion.yaml",
143 # required = True,
144 help = "Path to the config.",
145 )
146 parser.add_argument(
147 "--use_8BitAdam",
148 type = bool,
149 default = False,
150 help = "Whether we use the 8BitAdam.",
151 )
152 parser.add_argument(
153 "--debug",
154 type = bool,
155 default = False,
156 help = "Whether we are in the debug model: don't use torch.compile",
157 )
158
159 args = parser.parse_args()
160 return args
161
162
163

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected