├── .gitignore ├── LICENSE ├── README.md ├── cirtorch ├── LICENSE ├── README.md ├── __init__.py ├── datasets │ ├── __init__.py │ ├── datahelpers.py │ ├── genericdataset.py │ ├── testdataset.py │ └── traindataset.py ├── examples │ ├── __init__.py │ ├── test.py │ ├── test_e2e.py │ └── train.py ├── layers │ ├── __init__.py │ ├── functional.py │ ├── loss.py │ ├── normalization.py │ └── pooling.py ├── networks │ ├── __init__.py │ └── imageretrievalnet.py └── utils │ ├── __init__.py │ ├── download.py │ ├── download_win.py │ ├── evaluate.py │ ├── general.py │ └── whiten.py ├── debug.py ├── docker ├── Dockerfile └── Dockerfile.cuda92 ├── exp ├── delf │ ├── cleaning_train2019.py │ ├── extract_delf_features.py │ ├── matching_localfeatures.py │ └── pretrained │ │ └── delf_config_example.pbtxt ├── submit_recognition.py ├── submit_retrieval.py ├── v1only.py └── v2clean.py ├── input ├── cirtorch_data │ └── .gitkeep ├── gld_v1 │ └── .gitkeep ├── gld_v2 │ ├── .gitkeep │ └── clean_train.csv └── gld_v2_1 │ └── .gitkeep ├── notebooks └── test.ipynb ├── output └── .gitkeep ├── retrieval_paper_memo.md ├── scripts ├── check_size.sh ├── download_train.sh └── prepare_cleaned_subset.sh ├── src ├── autoaugment.py ├── data_utils.py ├── downloader.py ├── eval_retrieval.py ├── metrics.py ├── modeling │ ├── batch_norm.py │ ├── metric_learning.py │ ├── models.py │ ├── pooling.py │ └── resnet_csail.py ├── prepare_dataset.py ├── qsub.py ├── reranking.py ├── torch_custom.py └── utils.py └── tests └── test_modeling.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/README.md -------------------------------------------------------------------------------- /cirtorch/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/LICENSE -------------------------------------------------------------------------------- /cirtorch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/README.md -------------------------------------------------------------------------------- /cirtorch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/__init__.py -------------------------------------------------------------------------------- /cirtorch/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cirtorch/datasets/datahelpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/datasets/datahelpers.py -------------------------------------------------------------------------------- /cirtorch/datasets/genericdataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/datasets/genericdataset.py -------------------------------------------------------------------------------- /cirtorch/datasets/testdataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/datasets/testdataset.py -------------------------------------------------------------------------------- /cirtorch/datasets/traindataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/datasets/traindataset.py -------------------------------------------------------------------------------- /cirtorch/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cirtorch/examples/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/examples/test.py -------------------------------------------------------------------------------- /cirtorch/examples/test_e2e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/examples/test_e2e.py -------------------------------------------------------------------------------- /cirtorch/examples/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/examples/train.py -------------------------------------------------------------------------------- /cirtorch/layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cirtorch/layers/functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/layers/functional.py -------------------------------------------------------------------------------- /cirtorch/layers/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/layers/loss.py -------------------------------------------------------------------------------- /cirtorch/layers/normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/layers/normalization.py -------------------------------------------------------------------------------- /cirtorch/layers/pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/layers/pooling.py -------------------------------------------------------------------------------- /cirtorch/networks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cirtorch/networks/imageretrievalnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/networks/imageretrievalnet.py -------------------------------------------------------------------------------- /cirtorch/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cirtorch/utils/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/utils/download.py -------------------------------------------------------------------------------- /cirtorch/utils/download_win.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/utils/download_win.py -------------------------------------------------------------------------------- /cirtorch/utils/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/utils/evaluate.py -------------------------------------------------------------------------------- /cirtorch/utils/general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/utils/general.py -------------------------------------------------------------------------------- /cirtorch/utils/whiten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/cirtorch/utils/whiten.py -------------------------------------------------------------------------------- /debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/debug.py -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/Dockerfile.cuda92: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/docker/Dockerfile.cuda92 -------------------------------------------------------------------------------- /exp/delf/cleaning_train2019.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/delf/cleaning_train2019.py -------------------------------------------------------------------------------- /exp/delf/extract_delf_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/delf/extract_delf_features.py -------------------------------------------------------------------------------- /exp/delf/matching_localfeatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/delf/matching_localfeatures.py -------------------------------------------------------------------------------- /exp/delf/pretrained/delf_config_example.pbtxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/delf/pretrained/delf_config_example.pbtxt -------------------------------------------------------------------------------- /exp/submit_recognition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/submit_recognition.py -------------------------------------------------------------------------------- /exp/submit_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/submit_retrieval.py -------------------------------------------------------------------------------- /exp/v1only.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/v1only.py -------------------------------------------------------------------------------- /exp/v2clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/exp/v2clean.py -------------------------------------------------------------------------------- /input/cirtorch_data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /input/gld_v1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /input/gld_v2/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /input/gld_v2/clean_train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/input/gld_v2/clean_train.csv -------------------------------------------------------------------------------- /input/gld_v2_1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notebooks/test.ipynb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /output/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /retrieval_paper_memo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/retrieval_paper_memo.md -------------------------------------------------------------------------------- /scripts/check_size.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/scripts/check_size.sh -------------------------------------------------------------------------------- /scripts/download_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/scripts/download_train.sh -------------------------------------------------------------------------------- /scripts/prepare_cleaned_subset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/scripts/prepare_cleaned_subset.sh -------------------------------------------------------------------------------- /src/autoaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/autoaugment.py -------------------------------------------------------------------------------- /src/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/data_utils.py -------------------------------------------------------------------------------- /src/downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/downloader.py -------------------------------------------------------------------------------- /src/eval_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/eval_retrieval.py -------------------------------------------------------------------------------- /src/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/metrics.py -------------------------------------------------------------------------------- /src/modeling/batch_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/modeling/batch_norm.py -------------------------------------------------------------------------------- /src/modeling/metric_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/modeling/metric_learning.py -------------------------------------------------------------------------------- /src/modeling/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/modeling/models.py -------------------------------------------------------------------------------- /src/modeling/pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/modeling/pooling.py -------------------------------------------------------------------------------- /src/modeling/resnet_csail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/modeling/resnet_csail.py -------------------------------------------------------------------------------- /src/prepare_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/prepare_dataset.py -------------------------------------------------------------------------------- /src/qsub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/qsub.py -------------------------------------------------------------------------------- /src/reranking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/reranking.py -------------------------------------------------------------------------------- /src/torch_custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/torch_custom.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/src/utils.py -------------------------------------------------------------------------------- /tests/test_modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyakaap/Landmark2019-1st-and-3rd-Place-Solution/HEAD/tests/test_modeling.py --------------------------------------------------------------------------------