mirror of
https://github.com/THUDM/CogVideo.git
synced 2025-04-05 19:41:59 +08:00
[docs] improve help messages in argument parser
Fix and clarify help documentation in parser.add_argument() to better describe command-line arguments.
This commit is contained in:
parent
2508c8353b
commit
ba85627577
@ -199,9 +199,9 @@ if __name__ == "__main__":
|
||||
parser.add_argument("--guidance_scale", type=float, default=6.0, help="The scale for classifier-free guidance")
|
||||
parser.add_argument("--num_inference_steps", type=int, default=50, help="Inference steps")
|
||||
parser.add_argument("--num_frames", type=int, default=81, help="Number of steps for the inference process")
|
||||
parser.add_argument("--width", type=int, default=None, help="Number of steps for the inference process")
|
||||
parser.add_argument("--height", type=int, default=None, help="Number of steps for the inference process")
|
||||
parser.add_argument("--fps", type=int, default=16, help="Number of steps for the inference process")
|
||||
parser.add_argument("--width", type=int, default=None, help="The width of the generated video")
|
||||
parser.add_argument("--height", type=int, default=None, help="The height of the generated video")
|
||||
parser.add_argument("--fps", type=int, default=16, help="The frames per second for the generated video")
|
||||
parser.add_argument("--num_videos_per_prompt", type=int, default=1, help="Number of videos to generate per prompt")
|
||||
parser.add_argument("--generate_type", type=str, default="t2v", help="The type of video generation")
|
||||
parser.add_argument("--dtype", type=str, default="bfloat16", help="The data type for computation")
|
||||
|
Loading…
x
Reference in New Issue
Block a user