w64228013 / SkeletonCLIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

git clone 
# Please first install pytorch according to instructions on the official website: https://pytorch.org/get-started/locally/. Please use pytorch with version smaller than 1.11.0 and larger (or equal) than 1.5.0
pip install -r requirements.txt
pip install -e .

Training & Testing

You can use following commands for training and testing. Basically, we support distributed training on a single server with multiple GPUs.

# Training
bash tools/dist_train.sh {config_name} {num_gpus} {other_options}
# Testing
bash tools/dist_test.sh {config_name} {checkpoint} {num_gpus} --out {output_file} --eval top_k_accuracy mean_class_accuracy

About

License:Apache License 2.0


Languages

Language:Python 99.2%Language:Jupyter Notebook 0.6%Language:Shell 0.1%