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

Function get_args

train_code/train_cogvideox_motion.py:86–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85################################################################################################################################
86def get_args():
87 parser = argparse.ArgumentParser(description="Simple example of a ControlNet training script.")
88 parser.add_argument(
89 "--config_path",
90 type=str,
91 default="config/train_cogvideox_motion.yaml",
92 help="Path to the config.",
93 )
94 parser.add_argument(
95 "--use_8BitAdam",
96 type=bool,
97 default = False,
98 help = "Whether we use the 8BitAdam.",
99 )
100 parser.add_argument(
101 "--debug",
102 type = bool,
103 default = False,
104 help = "Whether we are in the debug model: don't use torch.compile",
105 )
106
107 args = parser.parse_args()
108 return args
109
110
111

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected