All experiments are tracked with clearml: https://clear.ml/docs/latest/docs/
Environment created with poetry: https://python-poetry.org/docs/
To install dependeces: poetry install
There are two options to run training in this repository:
1. Defualt with TripletMarginLoss and TripletMarginMiner: poetry run python3.11 -m src.train
2. With ArcFaceLoss: poetry run python3.11 -m src.train lightning_module=ArcFaceLoss
-
Setup ClearML: clearml-init
-
Migrate dataset to ClearML: make migrate_dataset
Dataset used: Stanford Online Products
More info: https://paperswithcode.com/dataset/stanford-online-products
- Training and test with TripletMarginLoss
- Training and test with ArcFaceLoss