CUDA 12.2
bash dev.sh
Attach to docker container
xhost +
docker exec -it dev_64 /bin/bash
Install Anaconda
You must have Anaconda installer file Anaconda3-*-*-Linux-x86_64.sh
in your_path
and run this command
bash Anaconda3-*-Linux-x86_64.sh
Welcome to Anaconda3 2023.09-0
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
Press ENTER
==================================================
End User License Agreement - Anaconda Distribution
==================================================
Copyright 2015-2023, Anaconda, Inc.
All rights reserved under the 3-clause BSD License:
This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc.
("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Indiv
idual Edition).
--More--
Press q
to skip reading
Copyright 2015-2023, Anaconda, Inc.
All rights reserved under the 3-clause BSD License:
This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc.
("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Indiv
idual Edition).
Do you accept the license terms? [yes|no]
[no] >>>
Enter yes
to accept
Anaconda3 will now be installed into this location:
/root/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda3] >>>
Press ENTER
to confirm and wait for installation
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
run the following command when conda is activated:
conda config --set auto_activate_base false
You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>>
Enter yes
to accept
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
run the following command when conda is activated:
conda config --set auto_activate_base false
You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>>
Enter yes
to accept
You need to type 'bash' again to activate conda
bash
Go to repo directory
cd fr_any_door
Create conda environment
conda env create -f environment.yaml
Activate conda environment
conda activate anydoor
Install requirements
pip install -r requirements.txt
Download pretrained model from dino and put it in fr_any_door/srcs/AnyDoor/pretrained
directory
Download pretrained model from huggingface.co/spaces/xichenhku/AnyDoor and put it in fr_any_door/srcs/AnyDoor/pretrained
directory
Edit weight
fr_any_door/srcs/AnyDoor/configs/anydoor.yaml