Skip to content

SEFSC/FATES-ATI-ChuteFishFullPipeline

Repository files navigation

Environment setup

create new conda environment:

conda create -n chute_env python=3.8

activate conda environment

conda activate chute_env

install ultralytics

conda install -c conda-forge ultralytics

install pytorch

conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge

install additional packages

conda install configargparse
pip install gdown
conda install tensorboard
pip install easydict
pip install chardet
pip install hub_sdk

install packages for segmentation

pip install opencv-python pycocotools matplotlib onnxruntime onnx

download segmentation models

vit_h:https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth vit_l:https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth vit_b:https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth