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
411dd37a
Unverified
Commit
411dd37a
authored
Sep 29, 2025
by
gushiqiao
Committed by
GitHub
Sep 29, 2025
Browse files
fix bug (#346)
Co-authored-by:
Yang Yong (雍洋)
<
yongyang1030@163.com
>
parent
3c464853
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
lightx2v/models/runners/wan/wan_animate_runner.py
lightx2v/models/runners/wan/wan_animate_runner.py
+8
-1
No files found.
lightx2v/models/runners/wan/wan_animate_runner.py
View file @
411dd37a
...
@@ -5,7 +5,14 @@ import cv2
...
@@ -5,7 +5,14 @@ import cv2
import
numpy
as
np
import
numpy
as
np
import
torch
import
torch
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
from
decord
import
VideoReader
from
loguru
import
logger
try
:
from
decord
import
VideoReader
except
ImportError
:
VideoReader
=
None
logger
.
info
(
"If you need run animate model, please install decord."
)
from
lightx2v.models.input_encoders.hf.animate.face_encoder
import
FaceEncoder
from
lightx2v.models.input_encoders.hf.animate.face_encoder
import
FaceEncoder
from
lightx2v.models.input_encoders.hf.animate.motion_encoder
import
Generator
from
lightx2v.models.input_encoders.hf.animate.motion_encoder
import
Generator
...
...
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