ali-vilab / Ranni

https://ranni-t2i.github.io/Ranni/
Apache License 2.0
207 stars 15 forks source link

Image generation results are easily affected by random seed #14

Open CodingMice opened 5 months ago

CodingMice commented 5 months ago

I got good results using the recommended prompt and seed, but when I used the recommended prompt and random seed I got worse results. Good Result: input prompt: a black dog and a white cat input seed: 15 a black dog and a white cat_1

Bad Result: input prompt: 10 apples on the table input seed: 15 10 apples on the table_1 Any solutions?

thss15fyt commented 5 months ago

Thanks for your interest.

  1. It seems the output image is in wrong BGR instead of RGB. Please check the inference code.
  2. The output results depend on both the text-to-panel and panel-to-image results. In your case, 10 apples are more diffcult for the first stage to properly arrange them. You can try different arrangement using random seed at first, and then run the panel-to-image with satisfying arrangement.
holytony commented 5 months ago

I got good results using the recommended prompt and seed, but when I used the recommended prompt and random seed I got worse results. Good Result: input prompt: a black dog and a white cat input seed: 15 a black dog and a white cat_1

Bad Result: input prompt: 10 apples on the table input seed: 15 10 apples on the table_1 Any solutions?

I agree, after having tried many times with different prompts and seeds, most of results coming out are not desirable, generally speaking they still got issues with colours and numbers, I feel like the default demo examples are kinda of cherry picking, hopefully they can release the version they used in the original paper