Spaces:
Runtime error
Runtime error
Download setup.sh from nowsyn/AnyControl: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/nowsyn/AnyControl/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/nowsyn/AnyControl/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/nowsyn/AnyControl/resolve/main/setup.sh
437 Bytes
| # 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 | |