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
2b117f9c
Commit
2b117f9c
authored
May 13, 2025
by
sandy
Committed by
GitHub
May 13, 2025
Browse files
Fix bug: wan's target_video_len hard code
parent
bd1e469c
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 @
2b117f9c
...
@@ -113,7 +113,7 @@ class WanRunner(DefaultRunner):
...
@@ -113,7 +113,7 @@ class WanRunner(DefaultRunner):
torch
.
concat
(
torch
.
concat
(
[
[
torch
.
nn
.
functional
.
interpolate
(
img
[
None
].
cpu
(),
size
=
(
h
,
w
),
mode
=
"bicubic"
).
transpose
(
0
,
1
),
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
,
dim
=
1
,
).
cuda
()
).
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