ZTMIDGO / Android-Stable-diffusion-ONNX

使用Android手机的CPU推理stable diffusion
138 stars 27 forks source link

Sampler EulerA seed issue and a request #14

Open BakaLee opened 1 year ago

BakaLee commented 1 year ago

First of all thank you so much for the new update. Thank you for hearing out our feedback and implementing the save button and sampler option. Kudos to the developer.

Issue : I think something is wrong with Euler Sampler. It's giving a totally different output for the same seed and prompts.

Example

First output Screenshot_2023-09-21-18-20-20-35_c7e96a0c09d8fd04249d1567299a7d46

Second output (same seed and prompt) Screenshot_2023-09-21-18-20-56-34_c7e96a0c09d8fd04249d1567299a7d46

In comparison, DPMS sampler First output Screenshot_2023-09-21-18-18-58-67_c7e96a0c09d8fd04249d1567299a7d46

Second output (same seed and prompt) Screenshot_2023-09-21-18-19-37-91_c7e96a0c09d8fd04249d1567299a7d46

Hoping for an update fix for this and with more samplers, imgToimg.

Suggestion1: Please add random seed to appear in seed edittext when onclick "Generate button" if "seed=null", so that we can know which seed was used and can recreate it again. Suggestion2: To save some storage space, if possible, can you please make the app get model files directly from the phone storage while initialisation/generating instead of making a copy of the model files at app directory.

ZTMIDGO commented 1 year ago

It may be because the seed problem caused by the model being quantized by uint8, and the specific problem may require me to test the code of EluerA