├── .gitignore ├── LICENSE ├── README.md ├── data_providers ├── __init__.py ├── base_provider.py ├── cifar.py ├── downloader.py ├── imagenet.py ├── svhn.py └── utils.py ├── evaluation ├── feature_embedding.npy ├── tsne.jpg └── tsne.py ├── metric_learning.py ├── metric_learning ├── __init__.py ├── densenet.py └── metric_loss_ops.py ├── pretrained_model └── DenseNet-BC_growth_rate=12_depth=40_dataset_C100+ │ ├── checkpoint │ ├── model.chkpt.data-00000-of-00001 │ ├── model.chkpt.index │ └── model.chkpt.meta └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/README.md -------------------------------------------------------------------------------- /data_providers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_providers/base_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/base_provider.py -------------------------------------------------------------------------------- /data_providers/cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/cifar.py -------------------------------------------------------------------------------- /data_providers/downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/downloader.py -------------------------------------------------------------------------------- /data_providers/imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/imagenet.py -------------------------------------------------------------------------------- /data_providers/svhn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/svhn.py -------------------------------------------------------------------------------- /data_providers/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/data_providers/utils.py -------------------------------------------------------------------------------- /evaluation/feature_embedding.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/evaluation/feature_embedding.npy -------------------------------------------------------------------------------- /evaluation/tsne.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/evaluation/tsne.jpg -------------------------------------------------------------------------------- /evaluation/tsne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/evaluation/tsne.py -------------------------------------------------------------------------------- /metric_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/metric_learning.py -------------------------------------------------------------------------------- /metric_learning/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /metric_learning/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/metric_learning/densenet.py -------------------------------------------------------------------------------- /metric_learning/metric_loss_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/metric_learning/metric_loss_ops.py -------------------------------------------------------------------------------- /pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/checkpoint -------------------------------------------------------------------------------- /pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.data-00000-of-00001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.data-00000-of-00001 -------------------------------------------------------------------------------- /pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.index -------------------------------------------------------------------------------- /pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/pretrained_model/DenseNet-BC_growth_rate=12_depth=40_dataset_C100+/model.chkpt.meta -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CongWeilin/cluster-loss-tensorflow/HEAD/requirements.txt --------------------------------------------------------------------------------