Diffusion-Sharpening icon indicating copy to clipboard operation
Diffusion-Sharpening copied to clipboard

ModuleNotFoundError in scripts and missing parameter documentation

Open beiwilliam opened this issue 1 year ago • 1 comments

Hi there! First, I want to congratulate you on your excellent research - the results are truly impressive.

However, I've encountered a few issues while trying to run your scripts:

  1. I received a ModuleNotFoundError: No module named 'scheduling_ddim_x0' error. I managed to work around this by changing the import to from diffusers import DDIMScheduler, but I wanted to bring this to your attention. Image

  2. I noticed that some required parameters aren't documented in the provided shell scripts. For example, I'm unsure how to properly set the --image_column parameter. Could you please provide guidance on these missing parameters?

Thank you for your time and for sharing this great work!

beiwilliam avatar Feb 21 '25 02:02 beiwilliam

Thanks for your attention!

  1. In our original environment, we set a more detailed scheduler, which is why the import is not from the diffusers version. For the GitHub version, we adapted it for readability and aligned it with the Hugging Face diffusers library's example, so you can directly use the diffusers scheduler.

  2. The image_column is a common parameter in the diffusers example, used to specify the name of the image column in your dataset. Typical names might include "image", "img", etc., depending on how your dataset is structured.

You can refer to the [Hugging Face diffusers example](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py) and its related README for further details. Thank you again for your attention, and we have updated the scheduler import to directly come from diffusers.

tyfeld avatar Feb 21 '25 02:02 tyfeld