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
6b7a3cad
Commit
6b7a3cad
authored
Sep 24, 2025
by
Watebear
Committed by
GitHub
Sep 24, 2025
Browse files
bugfix: read image (#331)
parent
7a111e37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v/models/runners/qwen_image/qwen_image_runner.py
lightx2v/models/runners/qwen_image/qwen_image_runner.py
+1
-1
No files found.
lightx2v/models/runners/qwen_image/qwen_image_runner.py
View file @
6b7a3cad
...
...
@@ -94,7 +94,7 @@ class QwenImageRunner(DefaultRunner):
@
ProfilingContext4DebugL2
(
"Run Encoders"
)
def
_run_input_encoder_local_i2i
(
self
):
image
=
Image
.
open
(
self
.
config
[
"image_path"
])
_
,
image
=
self
.
read_image_input
(
self
.
config
[
"image_path"
])
prompt
=
self
.
config
[
"prompt_enhanced"
]
if
self
.
config
[
"use_prompt_enhancer"
]
else
self
.
config
[
"prompt"
]
text_encoder_output
=
self
.
run_text_encoder
(
prompt
,
image
)
image_encoder_output
=
self
.
run_vae_encoder
(
image
=
text_encoder_output
[
"preprocessed_image"
])
...
...
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