From 8da0d183a259e39cd16c4aefd0fb9eaf2170bb8a Mon Sep 17 00:00:00 2001 From: Artiprocher Date: Tue, 18 Mar 2025 17:31:15 +0800 Subject: [PATCH] support target fps --- examples/wanvideo/train_wan_t2v.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/wanvideo/train_wan_t2v.py b/examples/wanvideo/train_wan_t2v.py index cdf0d67..f672eae 100644 --- a/examples/wanvideo/train_wan_t2v.py +++ b/examples/wanvideo/train_wan_t2v.py @@ -403,6 +403,12 @@ def parse_args(): default=81, help="Number of frames.", ) + parser.add_argument( + "--target_fps", + type=int, + default=None, + help="Expected FPS for sampling frames.", + ) parser.add_argument( "--height", type=int,