Open Kallamamran opened 1 year ago
conda also makes a venv it is same
you need to just extra install conda
i shown in this video and it doesn't break your existing python installations : https://youtu.be/YJebdQ30UZQ
you probably can also install with default python as venv but you probably need to download specific python version and install it to work
As the subject says. Is it possible to install this in venv instead of using Conda? I don't like all the virtual environments that is created on C: all the time. It slowly fills upp C: instead of just filling up the folder where the program is run. Venv is so much easier to handle
I installed this with venv. At least on Python 3.10.7 everything works for me. How to install with venv:
git clone https://github.com/lllyasviel/ControlNet.git
python -m venv venv
| this will create venv in "ControlNet\venv" foldervenv\Scripts\activate
| this will activate venvin my case the command looked like this:
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
gradio==3.16.2
albumentations==1.3.0
opencv-contrib-python==4.7.0.68
| 4.3.0.36 cannot be installed on python 3.10.7imageio==2.9.0
imageio-ffmpeg==0.4.2
pytorch-lightning==1.5.0
omegaconf==2.1.1
test-tube==0.7.5
streamlit==1.12.1
einops==0.3.0
transformers==4.19.2
webdataset==0.2.5
kornia==0.6
open_clip_torch==2.0.2
invisible-watermark==0.1.5
streamlit-drawable-canvas==0.8.0
torchmetrics==0.6.0
timm==0.6.12
addict==2.4.0
yapf==0.32.0
prettytable==3.6.0
safetensors==0.2.7
pip install gradio==3.16.2 pip install albumentations==1.3.0 etc.
run_gradio_annotator.bat
@echo off
set VENV_DIR=.\venv set PYTHON=python
call %VENV_DIR%\Scripts\activate.bat
%PYTHON% gradio_annotator.py
pause
After that, you can open the console and run the command to clean up the pip installation files (delete files from C: drive):
`pip cache purge`
no need anymore
now there is a great extension for automatic1111
It works amazingly well and supports xformers as well now since automatic1111 supports
Also not anymore you need a merged ckpt files
It works with any custom model as well
16.) Automatic1111 Web UI Sketches into Epic Art with 1 Click: A Guide to Stable Diffusion ControlNet in Automatic1111 Web UI
no need anymore
now there is a great extension for automatic1111
that was too fast ^_^
As the subject says. Is it possible to install this in venv instead of using Conda? I don't like all the virtual environments that is created on C: all the time. It slowly fills upp C: instead of just filling up the folder where the program is run. Venv is so much easier to handle