Skip to content

Trying to create tensor with negative dimension #1149

@zjq0455

Description

@zjq0455

Hi,
I'm trying to edit a video using Vace:

control_video = VideoData("a.mp4", height=1600, width=3840)
video = pipe(
prompt="背景是很普通的房子,人们的穿着也特别朴素",
negative_prompt="色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,倒着走",
vace_video=control_video,
seed=1, tiled=True,
height=1600, width=3840,
)
save_video(video, "output.mp4", fps=15, quality=5)

but facing the following error:

RuntimeError: Trying to create tensor with negative dimension -96000: [1, -96000, 5120]

How to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions