gitextract_ibl22pv3/ ├── .flake8 ├── .gitignore ├── LICENSE ├── README.md ├── ThirdPartyNotices.txt ├── configs/ │ ├── example.yaml │ ├── example_margin.yaml │ └── example_resnet50.yaml ├── requirements.txt ├── ret_benchmark/ │ ├── config/ │ │ ├── __init__.py │ │ ├── defaults.py │ │ └── model_path.py │ ├── data/ │ │ ├── __init__.py │ │ ├── build.py │ │ ├── collate_batch.py │ │ ├── datasets/ │ │ │ ├── __init__.py │ │ │ └── base_dataset.py │ │ ├── evaluations/ │ │ │ ├── __init__.py │ │ │ └── ret_metric.py │ │ ├── samplers/ │ │ │ ├── __init__.py │ │ │ └── random_identity_sampler.py │ │ └── transforms/ │ │ ├── __init__.py │ │ └── build.py │ ├── engine/ │ │ ├── __init__.py │ │ └── trainer.py │ ├── losses/ │ │ ├── __init__.py │ │ ├── build.py │ │ ├── margin_loss.py │ │ ├── multi_similarity_loss.py │ │ └── registry.py │ ├── modeling/ │ │ ├── __init__.py │ │ ├── backbone/ │ │ │ ├── __init__.py │ │ │ ├── bninception.py │ │ │ ├── build.py │ │ │ └── resnet.py │ │ ├── build.py │ │ ├── heads/ │ │ │ ├── __init__.py │ │ │ ├── build.py │ │ │ └── linear_norm.py │ │ ├── registry.py │ │ └── xbm.py │ ├── solver/ │ │ ├── __init__.py │ │ ├── build.py │ │ └── lr_scheduler.py │ └── utils/ │ ├── checkpoint.py │ ├── config_util.py │ ├── feat_extractor.py │ ├── freeze_bn.py │ ├── img_reader.py │ ├── init_methods.py │ ├── logger.py │ ├── metric_logger.py │ ├── model_serialization.py │ └── registry.py ├── scripts/ │ ├── prepare_cub.sh │ ├── run_cub.sh │ ├── run_cub_margin.sh │ └── split_cub_for_ms_loss.py ├── setup.py └── tools/ └── main.py