fast-reid/projects/FastClas
Xingyu Liao be0a089e1f
bugfix & merge classification transforms (#448)
Summary: change heads definition in project and config file, merge classification transforms into default transforms
2021-03-30 15:47:14 +08:00
..
configs save idx2class dict when training classification (#444) 2021-03-26 20:51:52 +08:00
fastcls save idx2class dict when training classification (#444) 2021-03-26 20:51:52 +08:00
README.md bugfix & merge classification transforms (#448) 2021-03-30 15:47:14 +08:00
train_net.py save idx2class dict when training classification (#444) 2021-03-26 20:51:52 +08:00

README.md

FastCls in FastReID

This project provides a baseline and example for image classification based on fastreid.

Datasets Preparation

We refer to pytorch tutorial for dataset preparation. This is just an example for building a classification task based on fastreid. You can customize your own datasets and model.

Usage

If you want to train models with 4 gpus, you can run

python3 projects/FastClas/train_net.py --config-file projects/FastClas/config/base-clas.yml --num-gpus 4