├── .gitignore ├── LICENSE ├── README.md ├── configs ├── default.py ├── res50_arcface_triplet.yaml ├── res50_ce_contrastive.yaml ├── res50_ce_cosface.yaml ├── res50_ce_triplet.yaml ├── res50_celabelsmooth_contrastive.yaml ├── res50_celabelsmooth_cosface.yaml ├── res50_celabelsmooth_triplet.yaml ├── res50_circle_paircircle.yaml ├── res50_cosface_cosface.yaml ├── res50_cosface_triplet.yaml └── res50_cosface_triplet_0.yaml ├── data ├── __init__.py ├── dataset_loader.py ├── datasets.py ├── samplers.py └── transforms.py ├── losses ├── __init__.py ├── arcface_loss.py ├── circle_loss.py ├── contrastive_loss.py ├── cosface_loss.py ├── cross_entropy_label_smooth.py └── triplet_loss.py ├── main.py ├── models ├── Classifier.py ├── ResNet.py └── __init__.py ├── tools ├── eval_metrics.py ├── transforms.py └── utils.py └── train.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/README.md -------------------------------------------------------------------------------- /configs/default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/default.py -------------------------------------------------------------------------------- /configs/res50_arcface_triplet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_arcface_triplet.yaml -------------------------------------------------------------------------------- /configs/res50_ce_contrastive.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_ce_contrastive.yaml -------------------------------------------------------------------------------- /configs/res50_ce_cosface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_ce_cosface.yaml -------------------------------------------------------------------------------- /configs/res50_ce_triplet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_ce_triplet.yaml -------------------------------------------------------------------------------- /configs/res50_celabelsmooth_contrastive.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_celabelsmooth_contrastive.yaml -------------------------------------------------------------------------------- /configs/res50_celabelsmooth_cosface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_celabelsmooth_cosface.yaml -------------------------------------------------------------------------------- /configs/res50_celabelsmooth_triplet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_celabelsmooth_triplet.yaml -------------------------------------------------------------------------------- /configs/res50_circle_paircircle.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_circle_paircircle.yaml -------------------------------------------------------------------------------- /configs/res50_cosface_cosface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_cosface_cosface.yaml -------------------------------------------------------------------------------- /configs/res50_cosface_triplet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_cosface_triplet.yaml -------------------------------------------------------------------------------- /configs/res50_cosface_triplet_0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/configs/res50_cosface_triplet_0.yaml -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/data/__init__.py -------------------------------------------------------------------------------- /data/dataset_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/data/dataset_loader.py -------------------------------------------------------------------------------- /data/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/data/datasets.py -------------------------------------------------------------------------------- /data/samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/data/samplers.py -------------------------------------------------------------------------------- /data/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/data/transforms.py -------------------------------------------------------------------------------- /losses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/__init__.py -------------------------------------------------------------------------------- /losses/arcface_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/arcface_loss.py -------------------------------------------------------------------------------- /losses/circle_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/circle_loss.py -------------------------------------------------------------------------------- /losses/contrastive_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/contrastive_loss.py -------------------------------------------------------------------------------- /losses/cosface_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/cosface_loss.py -------------------------------------------------------------------------------- /losses/cross_entropy_label_smooth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/cross_entropy_label_smooth.py -------------------------------------------------------------------------------- /losses/triplet_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/losses/triplet_loss.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/main.py -------------------------------------------------------------------------------- /models/Classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/models/Classifier.py -------------------------------------------------------------------------------- /models/ResNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/models/ResNet.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/models/__init__.py -------------------------------------------------------------------------------- /tools/eval_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/tools/eval_metrics.py -------------------------------------------------------------------------------- /tools/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/tools/transforms.py -------------------------------------------------------------------------------- /tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/tools/utils.py -------------------------------------------------------------------------------- /train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guxinqian/Simple-ReID/HEAD/train.sh --------------------------------------------------------------------------------