使用扩散器进行 Hugging Face 空间和本地测试时的不同输出

作者: habibaezz01创建于 2025年4月28日更新于 2026年6月17日

为什么在空间中测试和本地测试之间的输出结果大不相同?在空间中,我获得了非常好的输出,甚至在本地使用了相同的参数,甚至是相同的种子,但输出结果却大不相同。 images = pipe(prompt, image=image, num_inference_steps=50, text_guidance_scale=7.5, image_guidance_scale=1.5, generator=generator).images

内容来源: timothybrooks/instruct-pix2pix