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
For the first question, it seems that the output image size is too different from the input image size. We recommend that the output image should be 1024x1024 or match the input image size.
For the second question, the error info is too little to find the reason. It is recommended to run directly from the teminal instead of Jupyter, which can show more detailed error information.
代码的又出这个错Cell In[3], line 24
18 prompt = (
19 "Place the woman from <|image_2|> sitting naturally on the snow in <|image_1|>. "
20 "Ensure the lighting, shadows, and perspective match the snowy environment, and make the woman blend naturally into the snow surface."
21 )
23 # 运行OmniGen模型
---> 24 images = pipe(
25 prompt=prompt,
26 input_images=[image_1, image_2],
27 height=512,
28 width=512,
29 guidance_scale=2.5,
30 img_guidance_scale=1.8,
31 seed=42
32 )
34 # 保存并显示输出图像
35 output_path = "./output_result.jpg"
TypeError: 'NoneType' object is not callable
The text was updated successfully, but these errors were encountered: