Spaces:
Runtime error
Runtime error
# Install detectron2 | |
pip install git+https://github.com/facebookresearch/[email protected] | |
# Compile ms_deform_attn op | |
cd annotator/entityseg/mask2former/modeling/pixel_decoder/ops | |
sh make.sh | |
# 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 | |