lllyasviel / lllyasviel/ControlNet
Gradio apps not working OOTB
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
I'm not having luck running any of the Gradio apps out of the box - what could be wrong?
```
$ conda env create -f environment.yaml
Retrieving notices: ...working... done
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 22.11.1
latest version: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.1.0
Downloading and Extracting Packages
torchvision-0.13.1 | 28.7 MB | ############################################################################################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
done
Installing pip dependencies: / Ran pip subprocess with arguments:
['/home/vadi/Programs/miniconda3/envs/control/bin/python', '-m', 'pip', 'install', '-U', '-r', '/media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt', '--exists-action=b']
Pip subprocess output:
Collecting addict==2.4.0
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting albumentations==1.3.0
Using cached albumentations-1.3.0-py3-none-any.whl (123 kB)
Requirement already satisfied: numpy>=1.11.1 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from albumentations==1.3.0->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 2)) (1.23.1)
Collecting basicsr==1.4.2
Using cached basicsr-1.4.2-py3-none-any.whl
Requirement already satisfied: torchvision in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (0.13.1)
Requirement already satisfied: torch>=1.7 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (1.12.1)
Requirement already satisfied: requests in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (2.28.1)
Requirement already satisfied: Pillow in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (9.3.0)
Collecting einops==0.3.0
Downloading einops-0.3.0-py2.py3-none-any.whl (25 kB)
Collecting gradio==3.16.2
Downloading gradio-3.16.2-py3-none-any.whl (14.2 MB)
Requirement already satisfied: typing-extensions in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from gradio==3.16.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 1)) (4.4.0)
Collecting imageio==2.9.0
Downloading imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting imageio-ffmpeg==0.4.2
Downloading imageio_ffmpeg-0.4.2-py3-none-manylinux2010_x86_64.whl (26.9 MB)
Collecting kornia==0.6
Downloading kornia-0.6.0-py2.py3-none-any.whl (367 kB)
Collecting omegaconf==2.1.1
Downloading omegaconf-2.1.1-py3-none-any.whl (74 kB)
Collecting open_clip_torch==2.0.2
Downloading open_clip_torch-2.0.2-py3-none-any.whl (1.4 MB)
Collecting opencv-contrib-python==4.3.0.36
Downloading opencv_contrib_python-4.3.0.36-cp38-cp38-manylinux2014_x86_64.whl (49.9 MB)
Collecting prettytable==3.6.0
Using cached prettytable-3.6.0-py3-none-any.whl (27 kB)
Collecting pytorch-lightning==1.5.0
Downloading pytorch_lightning-1.5.0-py3-none-any.whl (1.0 MB)
Collecting safetensors==0.2.7
Downloading safetensors-0.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting streamlit==1.12.1
Downloading streamlit-1.12.1-py2.py3-none-any.whl (9.1 MB)
Collecting streamlit-drawable-canvas==0.8.0
Downloading streamlit_drawable_canvas-0.8.0-py3-none-any.whl (1.3 MB)
Collecting timm==0.6.12
Using cached timm-0.6.12-py3-none-any.whl (549 kB)
Collecting torchmetrics==0.6.0
Downloading torchmetrics-0.6.0-py3-none-any.whl (329 kB)
Collecting transformers==4.19.2
Downloading transformers-4.19.2-py3-none-any.whl (4.2 MB)
Collecting webdataset==0.2.5
Downloading webdataset-0.2.5-py3-none-any.whl (46 kB)
Collecting yapf==0.32.0
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting antlr4-python3-runtime==4.8
Downloading antlr4-python3-runtime-4.8.tar.gz (112 kB)
Collecting pyDeprecate==0.3.1
Downloading pyDeprecate-0.3.1-py3-none-any.whl (10 kB)
Collecting invisible-watermark>=0.1.5
Using cached invisible_watermark-0.1.5-py3-none-any.whl (1.6 MB)
Collecting test-tube>=0.7.5
Using cached test_tube-0.7.5-py3-none-any.whl
Collecting altair>=4.2.0
Using cached altair-4.2.2-py3-none-any.whl (813 kB)
Collecting blinker>=1.0.0
Using cached blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting cachetools>=4.0
Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting click>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting fsspec
Using cached fsspec-2023.1.0-py3-none-any.whl (143 kB)
Collecting aiohttp
Using cached aiohttp-3.8.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from aiohttp->gradio==3.16.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 1)) (2.0.4)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (161 kB)
Collecting future
Using cached future-0.18.3-py3-none-any.whl
Collecting gitpython!=3.1.19
Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.10-py3-none-any.whl (62 kB)
Collecting huggingface-hub
Using cached huggingface_hub-0.12.1-py3-none-any.whl (190 kB)
Collecting importlib-metadata>=1.4
Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting jsonschema>=3.0
Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
Collecting importlib-resources>=1.4.0
Using cached importlib_resources-5.12.0-py3-none-any.whl (36 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB)
Collecting opencv-python
Using cached opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB)
Collecting opencv-python-headless>=4.1.1
Using cached opencv_python_headless-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.2 MB)
Collecting packaging
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting pandas
Using cached pandas-1.5.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
Collecting pkgutil-resolve-name>=1.3.10
Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting protobuf<4,>=3.12
Using cached protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
Collecting pyarrow>=4.0
Downloading pyarrow-11.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.0 MB)
Collecting pydeck>=0.1.dev5
Using cached pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting markupsafe
Using cached MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pympler>=0.9
Using cached Pympler-1.0.1-py3-none-any.whl (164 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.3-py3-none-any.whl (57 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Requirement already satisfied: six>=1.5 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from python-dateutil->streamlit==1.12.1->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 9)) (1.16.0)
Collecting pytz>=2020.1
Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
Collecting PyWavelets>=1.1.1
Downloading PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB)
Collecting PyYAML
Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
Collecting qudida>=0.0.4
Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
Collecting regex
Using cached regex-2022.10.31-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (772 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from requests->basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (1.26.14)
Requirement already satisfied: idna<4,>=2.5 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from requests->basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from requests->basicsr==1.4.2->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 23)) (2022.12.7)
Collecting rich>=10.11.0
Using cached rich-13.3.1-py3-none-any.whl (239 kB)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Collecting mdurl~=0.1
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting pygments<3.0.0,>=2.14.0
Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
Collecting scikit-image>=0.16.1
Using cached scikit_image-0.19.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.0 MB)
Collecting networkx>=2.2
Using cached networkx-3.0-py3-none-any.whl (2.0 MB)
Collecting scikit-learn>=0.19.1
Using cached scikit_learn-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.8 MB)
Collecting joblib>=1.1.1
Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting scipy
Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting tensorboard>=2.2.0
Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB)
Requirement already satisfied: wheel>=0.26 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from tensorboard>=2.2.0->pytorch-lightning==1.5.0->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 6)) (0.38.4)
Requirement already satisfied: setuptools>=41.0.0 in /home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages (from tensorboard>=2.2.0->pytorch-lightning==1.5.0->-r /media/vadi/SSDer/Programs/ControlNet/condaenv.v1jw_k4f.requirements.txt (line 6)) (65.6.3)
Collecting absl-py>=0.4
Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.16.1-py2.py3-none-any.whl (177 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting grpcio>=1.48.2
Downloading grpcio-1.51.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0
Using cached tensorboard_data_server-0.7.0-py3-none-manylinux2014_x86_64.whl (6.6 MB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting threadpoolctl>=2.0.0
Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting tifffile>=2019.7.26
Using cached tifffile-2023.2.3-py3-none-any.whl (215 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Downloading tokenizers-0.12.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB)
Collecting tornado>=5.0
Using cached tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting tzlocal>=1.1
Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting validators>=0.2
Using cached validators-0.20.0.tar.gz (30 kB)
Collecting decorator>=3.4.0
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting websockets>=10.0
Using cached websockets-10.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.3-py3-none-any.whl (233 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (262 kB)
Collecting zipp>=0.5
Using cached zipp-3.14.0-py3-none-any.whl (6.7 kB)
Collecting aiofiles
Using cached aiofiles-23.1.0-py3-none-any.whl (14 kB)
Collecting backports.zoneinfo
Downloading backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl (74 kB)
Collecting braceexpand
Using cached braceexpand-0.1.7-py2.py3-none-any.whl (5.9 kB)
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting fastapi
Using cached fastapi-0.92.0-py3-none-any.whl (56 kB)
Collecting pydantic
Using cached pydantic-1.10.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
Collecting starlette<0.26.0,>=0.25.0
Using cached starlette-0.25.0-py3-none-any.whl (66 kB)
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting sniffio>=1.1
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting filelock
Using cached filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting ftfy
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting wcwidth
Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
Collecting httpx
Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Collecting httpcore<0.17.0,>=0.15.0
Using cached httpcore-0.16.3-py3-none-any.whl (69 kB)
Collecting h11<0.15,>=0.13
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting lmdb
Using cached lmdb-1.4.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (306 kB)
Collecting linkify-it-py<3,>=1
Using cached linkify_it_py-2.0.0-py3-none-any.whl (19 kB)
Collecting matplotlib
Using cached matplotlib-3.7.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)
Collecting pyparsing>=2.3.1
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting mdit-py-plugins
Downloading mdit_py_plugins-0.3.4-py3-none-any.whl (52 kB)
Collecting onnx
Downloading onnx-1.13.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
Collecting onnxruntime
Downloading onnxruntime-1.14.0-cp38-cp38-manylinux_2_27_x86_64.whl (5.0 MB)
Collecting coloredlogs
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Collecting humanfriendly>=9.1
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting flatbuffers
Using cached flatbuffers-23.1.21-py2.py3-none-any.whl (26 kB)
Collecting orjson
Using cached orjson-3.8.6-cp38-cp38-manylinux_2_28_x86_64.whl (140 kB)
Collecting pycryptodome
Using cached pycryptodome-3.17-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting python-multipart
Using cached python_multipart-0.0.5-py3-none-any.whl
Collecting pytz-deprecation-shim
Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting semver
Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting sympy
Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
Collecting mpmath>=0.19
Using cached mpmath-1.2.1-py3-none-any.whl (532 kB)
Collecting tb-nightly
Using cached tb_nightly-2.13.0a20230221-py3-none-any.whl (5.6 MB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting toolz
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting tzdata
Using cached tzdata-2022.7-py2.py3-none-any.whl (340 kB)
Collecting uc-micro-py
Using cached uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB)
Collecting uvicorn
Using cached uvicorn-0.20.0-py3-none-any.whl (56 kB)
Collecting watchdog
Using cached watchdog-2.2.1-py3-none-manylinux2014_x86_64.whl (78 kB)
Building wheels for collected packages: antlr4-python3-runtime, validators
Building wheel for antlr4-python3-runtime (setup.py): started
Building wheel for antlr4-python3-runtime (setup.py): finished with status 'done'
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.8-py3-none-any.whl size=141211 sha256=63a89d3266968bf523795133dacd7d6aba61a0caa08d07f499c1b5192667748a
Stored in directory: /home/vadi/.cache/pip/wheels/c8/d0/ab/d43c02eaddc5b9004db86950802442ad9a26f279c619e28da0
Building wheel for validators (setup.py): started
Building wheel for validators (setup.py): finished with status 'done'
Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19581 sha256=58056f36cfd1f758731771e1bb4fd234a093334d7bb6def344b2a151d4e0d1f3
Stored in directory: /home/vadi/.cache/pip/wheels/19/09/72/3eb74d236bb48bd0f3c6c3c83e4e0c5bbfcbcad7c6c3539db8
Successfully built antlr4-python3-runtime validators
Installing collected packages: zipp, pyasn1, tzdata, sniffio, smmap, rsa, pytz, python-dateutil, pyrsistent, pyasn1-modules, pkgutil-resolve-name, oauthlib, multidict, mdurl, markupsafe, importlib-resources, frozenlist, cachetools, backports.zoneinfo, attrs, yarl, uc-micro-py, toolz, threadpoolctl, scipy, rfc3986, requests-oauthlib, pytz-deprecation-shim, pygments, pandas, mpmath, markdown-it-py, jsonschema, joblib, jinja2, importlib-metadata, humanfriendly, h11, google-auth, gitdb, entrypoints, decorator, async-timeout, anyio, aiosignal, werkzeug, wcwidth, watchdog, validators, tzlocal, tqdm, tornado, toml, tifffile, tensorboard-plugin-wit, tensorboard-data-server, sympy, starlette, semver, scikit-learn, rich, PyYAML, PyWavelets, pyparsing, pympler, pydeck, pydantic, pyarrow, protobuf, packaging, opencv-python-headless, networkx, mdit-py-plugins, markdown, linkify-it-py, kiwisolver, imageio, httpcore, grpcio, google-auth-oauthlib, gitpython, fsspec, fonttools, flatbuffers, filelock, cycler, contourpy, coloredlogs, click, blinker, altair, aiohttp, absl-py, yapf, websockets, uvicorn, torchmetrics, tokenizers, tensorboard, tb-nightly, streamlit, scikit-image, regex, qudida, python-multipart, pydub, pyDeprecate, pycryptodome, orjson, opencv-python, onnxruntime, onnx, matplotlib, lmdb, huggingface-hub, httpx, future, ftfy, ffmpy, fastapi, braceexpand, antlr4-python3-runtime, aiofiles, addict, webdataset, transformers, timm, test-tube, streamlit-drawable-canvas, safetensors, pytorch-lightning, prettytable, opencv-contrib-python, open-clip-torch, omegaconf, kornia, invisible-watermark, imageio-ffmpeg, gradio, einops, basicsr, albumentations
Successfully installed PyWavelets-1.4.1 PyYAML-6.0 absl-py-1.4.0 addict-2.4.0 aiofiles-23.1.0 aiohttp-3.8.4 aiosignal-1.3.1 albumentations-1.3.0 altair-4.2.2 antlr4-python3-runtime-4.8 anyio-3.6.2 async-timeout-4.0.2 attrs-22.2.0 backports.zoneinfo-0.2.1 basicsr-1.4.2 blinker-1.5 braceexpand-0.1.7 cachetools-5.3.0 click-8.1.3 coloredlogs-15.0.1 contourpy-1.0.7 cycler-0.11.0 decorator-5.1.1 einops-0.3.0 entrypoints-0.4 fastapi-0.92.0 ffmpy-0.3.0 filelock-3.9.0 flatbuffers-23.1.21 fonttools-4.38.0 frozenlist-1.3.3 fsspec-2023.1.0 ftfy-6.1.1 future-0.18.3 gitdb-4.0.10 gitpython-3.1.31 google-auth-2.16.1 google-auth-oauthlib-0.4.6 gradio-3.16.2 grpcio-1.51.3 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 huggingface-hub-0.12.1 humanfriendly-10.0 imageio-2.9.0 imageio-ffmpeg-0.4.2 importlib-metadata-6.0.0 importlib-resources-5.12.0 invisible-watermark-0.1.5 jinja2-3.1.2 joblib-1.2.0 jsonschema-4.17.3 kiwisolver-1.4.4 kornia-0.6.0 linkify-it-py-2.0.0 lmdb-1.4.0 markdown-3.4.1 markdown-it-py-2.2.0 markupsafe-2.1.2 matplotlib-3.7.0 mdit-py-plugins-0.3.4 mdurl-0.1.2 mpmath-1.2.1 multidict-6.0.4 networkx-3.0 oauthlib-3.2.2 omegaconf-2.1.1 onnx-1.13.1 onnxruntime-1.14.0 open-clip-torch-2.0.2 opencv-contrib-python-4.3.0.36 opencv-python-4.7.0.72 opencv-python-headless-4.7.0.72 orjson-3.8.6 packaging-23.0 pandas-1.5.3 pkgutil-resolve-name-1.3.10 prettytable-3.6.0 protobuf-3.20.3 pyDeprecate-0.3.1 pyarrow-11.0.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycryptodome-3.17 pydantic-1.10.5 pydeck-0.8.0 pydub-0.25.1 pygments-2.14.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.3 python-dateutil-2.8.2 python-multipart-0.0.5 pytorch-lightning-1.5.0 pytz-2022.7.1 pytz-deprecation-shim-0.1.0.post0 qudida-0.0.4 regex-2022.10.31 requests-oauthlib-1.3.1 rfc3986-1.5.0 rich-13.3.1 rsa-4.9 safetensors-0.2.7 scikit-image-0.19.3 scikit-learn-1.2.1 scipy-1.10.1 semver-2.13.0 smmap-5.0.0 sniffio-1.3.0 starlette-0.25.0 streamlit-1.12.1 streamlit-drawable-canvas-0.8.0 sympy-1.11.1 tb-nightly-2.13.0a20230221 tensorboard-2.12.0 tensorboard-data-server-0.7.0 tensorboard-plugin-wit-1.8.1 test-tube-0.7.5 threadpoolctl-3.1.0 tifffile-2023.2.3 timm-0.6.12 tokenizers-0.12.1 toml-0.10.2 toolz-0.12.0 torchmetrics-0.6.0 tornado-6.2 tqdm-4.64.1 transformers-4.19.2 tzdata-2022.7 tzlocal-4.2 uc-micro-py-1.0.1 uvicorn-0.20.0 validators-0.20.0 watchdog-2.2.1 wcwidth-0.2.6 webdataset-0.2.5 websockets-10.4 werkzeug-2.2.3 yapf-0.32.0 yarl-1.8.2 zipp-3.14.0
done
#
# To activate this environment, use
#
# $ conda activate control
#
# To deactivate an active environment, use
#
# $ conda deactivate
(pytorch-cuda) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$
(pytorch-cuda) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$ conda activate control
(control) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$ python gradio_hough2image.py
logging improved.
Downloading: "https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/mlsd_large_512_fp32.pth" to /media/vadi/SSDer/Programs/ControlNet/annotator/ckpts/mlsd_large_512_fp32.pth
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.05M/6.05M [00:00<00:00, 12.4MB/s]
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Downloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 939k/939k [00:02<00:00, 350kB/s]
Downloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 512k/512k [00:00<00:00, 910kB/s]
Downloading: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 389/389 [00:00<00:00, 549kB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 905/905 [00:00<00:00, 1.34MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.41k/4.41k [00:00<00:00, 6.63MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.59G/1.59G [01:20<00:00, 21.1MB/s]
Loaded model config from [./models/cldm_v15.yaml]
Traceback (most recent call last):
File "gradio_hough2image.py", line 21, in
model.load_state_dict(load_state_dict('./models/control_sd15_mlsd.pth', location='cuda'))
File "/media/vadi/SSDer/Programs/ControlNet/cldm/model.py", line 18, in load_state_dict
state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location)))
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/control_sd15_mlsd.pth'
(control) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$ python gradio_hough2image.py
logging improved.
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loaded model config from [./models/cldm_v15.yaml]
Traceback (most recent call last):
File "gradio_hough2image.py", line 21, in
model.load_state_dict(load_state_dict('./models/control_sd15_mlsd.pth', location='cuda'))
File "/media/vadi/SSDer/Programs/ControlNet/cldm/model.py", line 18, in load_state_dict
state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location)))
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/control_sd15_mlsd.pth'
(control) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$ python gradio_hough2image.py
logging improved.
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loaded model config from [./models/cldm_v15.yaml]
Traceback (most recent call last):
File "gradio_hough2image.py", line 21, in
model.load_state_dict(load_state_dict('./models/control_sd15_mlsd.pth', location='cuda'))
File "/media/vadi/SSDer/Programs/ControlNet/cldm/model.py", line 18, in load_state_dict
state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location)))
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/control_sd15_mlsd.pth'
(control) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$ python gradio_canny2image.py
logging improved.
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loaded model config from [./models/cldm_v15.yaml]
Traceback (most recent call last):
File "gradio_canny2image.py", line 21, in
model.load_state_dict(load_state_dict('./models/control_sd15_canny.pth', location='cuda'))
File "/media/vadi/SSDer/Programs/ControlNet/cldm/model.py", line 18, in load_state_dict
state_dict = get_state_dict(torch.load(ckpt_path, map_location=torch.device(location)))
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/vadi/Programs/miniconda3/envs/control/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/control_sd15_canny.pth'
(control) vadi@barbar:/media/vadi/SSDer/Programs/ControlNet$
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with environment.yaml and the Gradio app entry points; reproduce the reported out-of-box setup and capture the specific launch error. Done means the cause is isolated and the affected setup or app behavior is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100