| |
| |
| |
| |
| |
|
|
| |
|
|
| conda deactivate |
|
|
| |
| export ENV_NAME=vggsfm |
| export PYTHON_VERSION=3.10 |
| export PYTORCH_VERSION=2.1.0 |
| export CUDA_VERSION=12.1 |
|
|
| |
| conda create -n $ENV_NAME python=$PYTHON_VERSION |
| conda activate $ENV_NAME |
|
|
| |
| conda install pytorch=$PYTORCH_VERSION torchvision pytorch-cuda=$CUDA_VERSION -c pytorch -c nvidia |
| conda install -c fvcore -c iopath -c conda-forge fvcore iopath |
| conda install pytorch3d -c pytorch3d |
|
|
| |
| pip install hydra-core --upgrade |
| pip install omegaconf opencv-python einops visdom |
| pip install accelerate==0.24.0 |
|
|
| |
| git clone https://github.com/cvg/LightGlue.git dependency/LightGlue |
|
|
| cd dependency/LightGlue/ |
| python -m pip install -e . |
| cd ../../ |
|
|
| |
| pip install numpy==1.26.3 |
|
|
| |
| pip install pycolmap==0.6.1 |
|
|
| |
| pip install https://huggingface.co/facebook/VGGSfM/resolve/main/poselib-2.0.2-cp310-cp310-linux_x86_64.whl |
|
|
|
|
|
|