ControlNet
[ControlNet](https://github.com/lllyasviel/ControlNet) [NeMo Guardrails](https://texonom.com/nemo-guardrails-57ad31432b7d4ddfa394ccd21dd022f6) 



![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb3a40960-6633-4dba-a5b3-4aee138e8099%2FUntitled.png?table=block&id=5ae6a407-da79-46b7-9657-ab6429bc3354&cache=v2)
1. clone repo
2. install dependency
> `conda env create -f environment.yaml`
3. install pytorch for PC’s CUDA version
> `conda install pytorch torchvision pytorch-cuda=$CUDA_VERSION -c pytorch -c nvidia`
4. download model from hugging face
5. run gradio




> [https://huggingface.co/lllyasviel/ControlNet](https://huggingface.co/lllyasviel/ControlNet)

> [ControlNet - 이미지의 구조를 활용해서 새로운 이미지 만들어 내는 인공지능 모델](https://tilnote.io/pages/63f4599e11b3e6121ff4701a)

> [Adding Conditional Control to Text-to-Image Diffusion Models (ControlNet)](https://ostin.tistory.com/176)





