maopian2333
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).  It gets black images when input size is resized to (768, 1024) as original. 
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...
You installed the cpu version of torch under ootd