Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
6333bca1
Commit
6333bca1
authored
May 13, 2025
by
sandy
Committed by
GitHub
May 13, 2025
Browse files
Merge pull request #39 from ModelTC/wangshankun-wan_target_video_len_hard_code
Fix bug: wan's target_video_len hard code
parents
bd1e469c
2b117f9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v/models/runners/wan/wan_runner.py
lightx2v/models/runners/wan/wan_runner.py
+1
-1
No files found.
lightx2v/models/runners/wan/wan_runner.py
View file @
6333bca1
...
...
@@ -113,7 +113,7 @@ class WanRunner(DefaultRunner):
torch
.
concat
(
[
torch
.
nn
.
functional
.
interpolate
(
img
[
None
].
cpu
(),
size
=
(
h
,
w
),
mode
=
"bicubic"
).
transpose
(
0
,
1
),
torch
.
zeros
(
3
,
80
,
h
,
w
),
torch
.
zeros
(
3
,
config
.
target_video_length
-
1
,
h
,
w
),
],
dim
=
1
,
).
cuda
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment