#!/usr/bin/bash # Install detectron2 pip install git+https://github.com/facebookresearch/detectron2.git@v0.6 # Compile ms_deform_attn op pip install third-party/MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl # download models mkdir .cache git clone https://huggingface.co/nowsyn/anycontrol .cache/anycontrol ln -s `pwd`/.cache/anycontrol/ckpts ./ckpts ln -s `pwd`/.cache/anycontrol/annotator/ckpts ./annotator/ckpts