maopian2333

Results 7 comments of maopian2333

> demo build error. could you fix it? +1

> 哈喽,在安装GroundingDINO的时候可以检查一下`CUDA_HOME`这个环境变量是否为空,如果为空的话可能不能安装CUDA版本,可以设置一下路径 > > ```shell > export CUDA_HOME=/path/to/cuda-11.3 > ``` > > 然后删除`build`目录重新`pip install -e .`,注意要用`pip install -e .`,试试看是否还会遇到类似的问题 it works

> > Hi, i run the inference code and finally get a black image with a warning: /opt/conda/lib/python3.9/site-packages/diffusers/image_processor.py:97: RuntimeWarning: invalid value encountered in cast images = (images * 255).round().astype("uint8") ....

> @maopian2333 What is your original input? It seems your image format is wrong. @levihsu The inputs are all jpg images. Results are good when image size is resized to...

@sudip550 It gets good results when input size is resized to (576,768). ![result1](https://github.com/levihsu/OOTDiffusion/assets/26484914/c810bd9e-9ef1-45f5-9ea7-064d0b0a7416) It gets black images when input size is resized to (768, 1024) as original. ![result2](https://github.com/levihsu/OOTDiffusion/assets/26484914/78613612-3350-4a86-bddd-7c8b58e69450)

This problem should be caused by incorrect python package versions. I install the packages following the list you provide, then the results are good without any problem. Thanks for your...