Skip to content

AndreCorreaSantos/NTTData_Capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

152 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup Instructions --> must run in ADMINISTRATOR MODE

Step 0: CD into the server folder of the project.

Step 1: Install Miniforge

Install Miniforge from the following link:

Miniforge provides a minimal conda installer for using the conda-forge package manager.

Step 2: Create the Mamba Environment

(if miniforge was not added to path, must open miniforge terminal window and cd into the server folder)

Once Miniforge is installed, create the environment using the provided environment.yaml file:

mamba env create --file environment.yaml

Step 3: Download Model Checkpoint

Download the required model checkpoint:

curl -L -o depth_anything_v2_metric_hypersim_vitb.pth "https://huggingface.co/depth-anything/Depth-Anything-V2-Metric-Hypersim-Base/resolve/main/depth_anything_v2_metric_hypersim_vitb.pth?download=true"

Or Install Manually

If you'd prefer to set up the environment manually, follow these steps:

Step 1: Create and Activate the Environment

mamba create -n ntt-pfe
mamba activate ntt-pfe

Step 2: Install PyTorch and CUDA Support

mamba install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

Step 3: Install Python Dependencies

pip install fastapi ultralytics transformers aiofiles uvicorn

Step 4: Download Model Checkpoint

Download the model checkpoint manually:

curl -L -o depth_anything_v2_metric_hypersim_vitb.pth "https://huggingface.co/depth-anything/Depth-Anything-V2-Metric-Hypersim-Base/resolve/main/depth_anything_v2_metric_hypersim_vitb.pth?download=true"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •