File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ DATA_ROOT="/path/to/my/datasets/video-dataset" # This needs to be the path to t
99CAPTION_COLUMN=" prompt.txt"
1010VIDEO_COLUMN=" videos.txt"
1111OUTPUT_DIR=" /path/to/my/datasets/preprocessed-dataset"
12- HEIGHT=480
13- WIDTH=720
14- MAX_NUM_FRAMES=49
12+ HEIGHT_BUCKETS=" 480 720"
13+ WIDTH_BUCKETS=" 720 960"
14+ FRAME_BUCKETS=" 49"
15+ MAX_NUM_FRAMES=" 49"
1516MAX_SEQUENCE_LENGTH=226
1617TARGET_FPS=8
1718BATCH_SIZE=1
@@ -27,8 +28,9 @@ CMD_WITHOUT_PRE_ENCODING="\
2728 --caption_column $CAPTION_COLUMN \
2829 --video_column $VIDEO_COLUMN \
2930 --output_dir $OUTPUT_DIR \
30- --height $HEIGHT \
31- --width $WIDTH \
31+ --height_buckets $HEIGHT_BUCKETS \
32+ --width_buckets $WIDTH_BUCKETS \
33+ --frame_buckets $FRAME_BUCKETS \
3234 --max_num_frames $MAX_NUM_FRAMES \
3335 --max_sequence_length $MAX_SEQUENCE_LENGTH \
3436 --target_fps $TARGET_FPS \
You can’t perform that action at this time.
0 commit comments