--- license: mit --- anywefadoor ## Installation various necesary libs to install via apt will reveal themselves depending on hardware. libxext and others after the conda install and run first time. Install with `conda`: ```bash conda env create -f environment.yaml conda activate anydoor ``` or `pip`: ```bash pip install -r requirements.txt ``` Additionally, for training, you need to install panopticapi, pycocotools, and lvis-api. ```bash pip install git+https://github.com/cocodataset/panopticapi.git pip install pycocotools -i https://pypi.douban.com/simple pip install lvis ``` ## Download Checkpoints Download WefaDoor checkpoint: * [HuggingFace](https://huggingface.co/thisisAce/ADOOR_ACE/blob/main/models/adbase-step%3D41250.ckpt) Download DINOv2 checkpoint and revise `/configs/anydoor.yaml` for the path (line 83) * URL: https://github.com/facebookresearch/dinov2?tab=readme-ov-file Download Stable Diffusion V2.1 if you want to train from scratch. * URL: https://huggingface.co/thisisAce/ADOOR_ACE/blob/main/models/dinov2_vitg14_pretrain.pth