Fantasy-Studio / Paint-by-Example

Paint by Example: Exemplar-based Image Editing with Diffusion Models
https://arxiv.org/abs/2211.13227
Other
1.06k stars 96 forks source link

Generates Black Image #7

Closed MuhammadArham-43 closed 1 year ago

MuhammadArham-43 commented 1 year ago

I tried to infer on all three example images provided in the repository. It returns zero tensors and black images are saved as output.

The output print statements highlighted possible NSFW content in the images, so I removed the checkSafety function from the inference script. However, the issue still remains and the model returns only black images.

The conda environment setup had no problems and I can find no alternate solution to the current problem.

grid-example_3_5065 grid-example_2_5876 grid-example_1_321

Fantasy-Studio commented 1 year ago

We appreciate your interest in our work. We just tested the inference code on both the new machine and the colab, and both produce the same results as shown in the README. We will upload the colab code later. Thank you.

MuhammadArham-43 commented 1 year ago

The checkpoint I used previously was faulty. Currently working after I downloaded the pretrained model again. Working now.

Thank you.

lin08288 commented 5 months ago

我遇到了同样的问题,输出是全黑的图像。我已经按要求下载了model.ckpt(11.7G)文件并放在项目的checkpoints目录下,但是还是没法解决问题,请问是为什么?