You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a serious code bug in the demo_gr. When handling the img2img task, at line 74, after scaling the pixel colors from 0 to 255 down to 0 to 1, it fails to normalize them to the range of -1 to 1. As a result, there is data deviation in the subsequent VAE encoding process and subsequent processes, causing the generated image to have an obvious color shift although it shows fidelity to the original image in terms of content. This phenomenon has been proven through experiments. In contrast, the input image is processed correctly in demo_st (normalized to the range of -1 to 1). If anyone encounters the same problem, please provide your feedback. Thank you.
Samples are provided below.
(a) This is the condition image input.
(b) Using your flux/demo_gr without fixing the bug conditioned on (a) (New prompt: People are happy playing on the beach.)
(c) Using my correct flux/demo_gr conditioned on (a) (New prompt: People are happy playing on the beach.)
The text was updated successfully, but these errors were encountered:
There is a serious code bug in the demo_gr. When handling the img2img task, at line 74, after scaling the pixel colors from 0 to 255 down to 0 to 1, it fails to normalize them to the range of -1 to 1. As a result, there is data deviation in the subsequent VAE encoding process and subsequent processes, causing the generated image to have an obvious color shift although it shows fidelity to the original image in terms of content. This phenomenon has been proven through experiments. In contrast, the input image is processed correctly in demo_st (normalized to the range of -1 to 1). If anyone encounters the same problem, please provide your feedback. Thank you.
Samples are provided below.
(a) This is the condition image input.
(b) Using your flux/demo_gr without fixing the bug conditioned on (a) (New prompt: People are happy playing on the beach.)
(c) Using my correct flux/demo_gr conditioned on (a) (New prompt: People are happy playing on the beach.)
The text was updated successfully, but these errors were encountered: