ViewDiff: 3D-Consistent Image Generation with Text-To-Image Models
Collecting accelerate==0.23.0 (from -r requirements.txt (line 1)) Using cached accelerate-0.23.0-py3-none-any.whl.metadata (18 kB) Collecting bitsandbytes==0.41.2.post2 (from -r requirements.txt (line 2)) Using cached bitsandbytes-0.41.2.post2-py3-none-any.whl.metadata (9.8 kB) Collecting cachetools==5.3.0 (from -r requirements.txt (line 3)) Using cached cachetools-5.3.0-py3-none-any.whl.metadata (5.2 kB) Collecting carvekit_colab==4.1.0 (from -r requirements.txt (line 4)) Using cached carvekit_colab-4.1.0-py3-none-any.whl.metadata (13 kB) Collecting dacite==1.8.1 (from -r requirements.txt (line 5)) Using cached dacite-1.8.1-py3-none-any.whl.metadata (15 kB) Collecting diffusers==0.21.2 (from -r requirements.txt (line 6)) Using cached diffusers-0.21.2.tar.gz (1.1 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: ffmpeg_python==0.2.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (0.2.0) Collecting imageio>=2.27 (from -r requirements.txt (line 8)) Using cached imageio-2.34.1-py3-none-any.whl.metadata (4.9 kB) Requirement already satisfied: lpips==0.1.4 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (0.1.4) Collecting numpy==1.24.2 (from -r requirements.txt (line 10)) Using cached numpy-1.24.2-cp38-cp38-macosx_10_9_x86_64.whl.metadata (5.6 kB) Requirement already satisfied: omegaconf==2.3.0 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 11)) (2.3.0) Requirement already satisfied: opencv_python==4.6.0.66 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 12)) (4.6.0.66) Collecting packaging==23.2 (from -r requirements.txt (line 13)) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting Pillow==10.3.0 (from -r requirements.txt (line 14)) Using cached pillow-10.3.0-cp38-cp38-macosx_10_10_x86_64.whl.metadata (9.2 kB) Requirement already satisfied: PyYAML==6.0.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (6.0.1) Collecting scikit-image==0.20.0 (from -r requirements.txt (line 16)) Using cached scikit_image-0.20.0-cp38-cp38-macosx_10_9_x86_64.whl.metadata (16 kB) Collecting scipy==1.10.0 (from -r requirements.txt (line 17)) Using cached scipy-1.10.0-cp38-cp38-macosx_10_15_x86_64.whl.metadata (53 kB) Collecting torch==2.0.1 (from -r requirements.txt (line 18)) Using cached torch-2.0.1-cp38-none-macosx_10_9_x86_64.whl.metadata (23 kB) Collecting torchvision==0.15.2 (from -r requirements.txt (line 19)) Using cached torchvision-0.15.2-cp38-cp38-macosx_10_9_x86_64.whl.metadata (11 kB) Collecting tqdm==4.66.3 (from -r requirements.txt (line 20)) Using cached tqdm-4.66.3-py3-none-any.whl.metadata (57 kB) Collecting transformers==4.38.0 (from -r requirements.txt (line 21)) Using cached transformers-4.38.0-py3-none-any.whl.metadata (131 kB) Collecting tyro==0.5.7 (from -r requirements.txt (line 22)) Using cached tyro-0.5.7-py3-none-any.whl.metadata (6.4 kB) Requirement already satisfied: xformers in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 23)) (0.0.16) Requirement already satisfied: tensorboard in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from -r requirements.txt (line 24)) (2.12.0) Requirement already satisfied: psutil in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from accelerate==0.23.0->-r requirements.txt (line 1)) (5.9.8) Requirement already satisfied: huggingface-hub in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from accelerate==0.23.0->-r requirements.txt (line 1)) (0.23.4) Requirement already satisfied: requests in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (2.28.2) Requirement already satisfied: loguru in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (0.6.0) Requirement already satisfied: uvicorn in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (0.30.1) Requirement already satisfied: fastapi in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (0.110.3) Requirement already satisfied: starlette in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (0.37.2) Requirement already satisfied: pydantic in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (2.7.4) Requirement already satisfied: click in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (8.1.7) Requirement already satisfied: setuptools in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (60.2.0) Requirement already satisfied: aiofiles in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (23.2.1) Requirement already satisfied: python-multipart in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from carvekit_colab==4.1.0->-r requirements.txt (line 4)) (0.0.9) Requirement already satisfied: importlib-metadata in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from diffusers==0.21.2->-r requirements.txt (line 6)) (7.0.2) Requirement already satisfied: filelock in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from diffusers==0.21.2->-r requirements.txt (line 6)) (3.14.0) Requirement already satisfied: regex!=2019.12.17 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from diffusers==0.21.2->-r requirements.txt (line 6)) (2022.10.31) Requirement already satisfied: safetensors>=0.3.1 in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from diffusers==0.21.2->-r requirements.txt (line 6)) (0.4.3) Requirement already satisfied: future in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from ffmpeg_python==0.2.0->-r requirements.txt (line 7)) (0.18.2) Requirement already satisfied: antlr4-python3-runtime==4.9.* in /Users/bro/.pyenv/versions/3.8.10/lib/python3.8/site-packages (from omegaconf==2.3.0->-r requirements.txt (line 11)) (4.9.3) INFO: pip is looking at multiple versions of scikit-image to determine which version is compatible with other requirements. This could take a while. Collecting lpips==0.1.4 (from -r requirements.txt (line 9)) Using cached lpips-0.1.4-py3-none-any.whl.metadata (10 kB) The conflict is caused by: The user requested scipy==1.10.0 lpips 0.1.4 depends on scipy>=1.0.1 scikit-image 0.20.0 depends on scipy<1.9.2 and >=1.8; python_version <= "3.9" To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: Cannot install -r requirements.txt (line 16), -r requirements.txt (line 9) and scipy==1.10.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts