├── analysis.ipynb ├── analysis_iwilds.ipynb ├── analysis_nlp.ipynb ├── analysis_waterbirds.ipynb ├── generate_job_script_iwilds.ipynb ├── inference_amazon.py ├── inference_fairface.py ├── inference_imagenet.py ├── inference_iwild_test_id.py ├── inference_iwild_test_ood.py ├── inference_movielens.py ├── inference_squad.py ├── inference_waterbirds_test.py ├── inference_xray.py ├── readme.md ├── requirements.txt ├── setup.py ├── spotlight_results ├── amazon_train_sst_0.05_spherical_1.pkl ├── amazon_train_sst_0.05_spherical_2.pkl ├── amazon_train_sst_0.05_spherical_3.pkl ├── amazon_train_sst_0.05_spherical_4.pkl ├── amazon_train_sst_0.05_spherical_5.pkl ├── fairface_val_resnet_0.02_spherical_1.pkl ├── fairface_val_resnet_0.02_spherical_2.pkl ├── fairface_val_resnet_0.02_spherical_3.pkl ├── fairface_val_resnet_0.02_spherical_4.pkl ├── fairface_val_resnet_0.02_spherical_5.pkl ├── imagenet_val_resnet_0.02_spherical_1.pkl ├── imagenet_val_resnet_0.02_spherical_2.pkl ├── imagenet_val_resnet_0.02_spherical_3.pkl ├── imagenet_val_resnet_0.02_spherical_4.pkl ├── imagenet_val_resnet_0.02_spherical_5.pkl ├── movielens_val_deepset_0.05_spherical_1.pkl ├── movielens_val_deepset_0.05_spherical_2.pkl ├── movielens_val_deepset_0.05_spherical_3.pkl ├── movielens_val_deepset_0.05_spherical_4.pkl ├── movielens_val_deepset_0.05_spherical_5.pkl ├── squad_val_bert_cls_0.05_spherical_1.pkl ├── squad_val_bert_cls_0.05_spherical_2.pkl ├── squad_val_bert_cls_0.05_spherical_3.pkl ├── squad_val_bert_cls_0.05_spherical_4.pkl ├── squad_val_bert_cls_0.05_spherical_5.pkl ├── waterbirds_test_resnet_0.01_spherical_1.pkl ├── waterbirds_test_resnet_0.01_spherical_2.pkl ├── waterbirds_test_resnet_0.01_spherical_3.pkl ├── waterbirds_test_resnet_0.01_spherical_4.pkl ├── waterbirds_test_resnet_0.01_spherical_5.pkl ├── xray_train_resnet_0.02_spherical_1.pkl ├── xray_train_resnet_0.02_spherical_2.pkl ├── xray_train_resnet_0.02_spherical_3.pkl ├── xray_train_resnet_0.02_spherical_4.pkl └── xray_train_resnet_0.02_spherical_5.pkl ├── spotlights_amazon.sh ├── spotlights_fairface.sh ├── spotlights_imagenet.sh ├── spotlights_movielens.sh ├── spotlights_squad.sh ├── spotlights_xray.sh ├── torch_spotlight ├── __init__.py ├── datasets.py ├── imagenet_synsets.txt ├── models.py ├── plot_utils.py ├── run_clustering.py ├── run_spotlight.py ├── spotlight.py ├── train_fairface_adversary.py ├── update_spotlight_format.py └── utils.py ├── train_fairface.py └── train_xray.py /analysis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/analysis.ipynb -------------------------------------------------------------------------------- /analysis_iwilds.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/analysis_iwilds.ipynb -------------------------------------------------------------------------------- /analysis_nlp.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/analysis_nlp.ipynb -------------------------------------------------------------------------------- /analysis_waterbirds.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/analysis_waterbirds.ipynb -------------------------------------------------------------------------------- /generate_job_script_iwilds.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/generate_job_script_iwilds.ipynb -------------------------------------------------------------------------------- /inference_amazon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_amazon.py -------------------------------------------------------------------------------- /inference_fairface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_fairface.py -------------------------------------------------------------------------------- /inference_imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_imagenet.py -------------------------------------------------------------------------------- /inference_iwild_test_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_iwild_test_id.py -------------------------------------------------------------------------------- /inference_iwild_test_ood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_iwild_test_ood.py -------------------------------------------------------------------------------- /inference_movielens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_movielens.py -------------------------------------------------------------------------------- /inference_squad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_squad.py -------------------------------------------------------------------------------- /inference_waterbirds_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_waterbirds_test.py -------------------------------------------------------------------------------- /inference_xray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/inference_xray.py -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/readme.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/setup.py -------------------------------------------------------------------------------- /spotlight_results/amazon_train_sst_0.05_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/amazon_train_sst_0.05_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/amazon_train_sst_0.05_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/amazon_train_sst_0.05_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/amazon_train_sst_0.05_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/amazon_train_sst_0.05_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/amazon_train_sst_0.05_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/amazon_train_sst_0.05_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/amazon_train_sst_0.05_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/amazon_train_sst_0.05_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/fairface_val_resnet_0.02_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/fairface_val_resnet_0.02_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/fairface_val_resnet_0.02_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/fairface_val_resnet_0.02_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/fairface_val_resnet_0.02_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/fairface_val_resnet_0.02_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/fairface_val_resnet_0.02_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/fairface_val_resnet_0.02_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/fairface_val_resnet_0.02_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/fairface_val_resnet_0.02_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/imagenet_val_resnet_0.02_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/imagenet_val_resnet_0.02_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/imagenet_val_resnet_0.02_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/imagenet_val_resnet_0.02_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/imagenet_val_resnet_0.02_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/imagenet_val_resnet_0.02_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/imagenet_val_resnet_0.02_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/imagenet_val_resnet_0.02_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/imagenet_val_resnet_0.02_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/imagenet_val_resnet_0.02_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/movielens_val_deepset_0.05_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/movielens_val_deepset_0.05_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/movielens_val_deepset_0.05_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/movielens_val_deepset_0.05_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/movielens_val_deepset_0.05_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/movielens_val_deepset_0.05_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/movielens_val_deepset_0.05_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/movielens_val_deepset_0.05_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/movielens_val_deepset_0.05_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/movielens_val_deepset_0.05_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/squad_val_bert_cls_0.05_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/squad_val_bert_cls_0.05_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/squad_val_bert_cls_0.05_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/squad_val_bert_cls_0.05_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/squad_val_bert_cls_0.05_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/squad_val_bert_cls_0.05_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/squad_val_bert_cls_0.05_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/squad_val_bert_cls_0.05_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/squad_val_bert_cls_0.05_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/squad_val_bert_cls_0.05_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/waterbirds_test_resnet_0.01_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/waterbirds_test_resnet_0.01_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/waterbirds_test_resnet_0.01_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/waterbirds_test_resnet_0.01_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/waterbirds_test_resnet_0.01_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/waterbirds_test_resnet_0.01_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/waterbirds_test_resnet_0.01_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/waterbirds_test_resnet_0.01_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/waterbirds_test_resnet_0.01_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/waterbirds_test_resnet_0.01_spherical_5.pkl -------------------------------------------------------------------------------- /spotlight_results/xray_train_resnet_0.02_spherical_1.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/xray_train_resnet_0.02_spherical_1.pkl -------------------------------------------------------------------------------- /spotlight_results/xray_train_resnet_0.02_spherical_2.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/xray_train_resnet_0.02_spherical_2.pkl -------------------------------------------------------------------------------- /spotlight_results/xray_train_resnet_0.02_spherical_3.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/xray_train_resnet_0.02_spherical_3.pkl -------------------------------------------------------------------------------- /spotlight_results/xray_train_resnet_0.02_spherical_4.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/xray_train_resnet_0.02_spherical_4.pkl -------------------------------------------------------------------------------- /spotlight_results/xray_train_resnet_0.02_spherical_5.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlight_results/xray_train_resnet_0.02_spherical_5.pkl -------------------------------------------------------------------------------- /spotlights_amazon.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_amazon.sh -------------------------------------------------------------------------------- /spotlights_fairface.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_fairface.sh -------------------------------------------------------------------------------- /spotlights_imagenet.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_imagenet.sh -------------------------------------------------------------------------------- /spotlights_movielens.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_movielens.sh -------------------------------------------------------------------------------- /spotlights_squad.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_squad.sh -------------------------------------------------------------------------------- /spotlights_xray.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/spotlights_xray.sh -------------------------------------------------------------------------------- /torch_spotlight/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /torch_spotlight/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/datasets.py -------------------------------------------------------------------------------- /torch_spotlight/imagenet_synsets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/imagenet_synsets.txt -------------------------------------------------------------------------------- /torch_spotlight/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/models.py -------------------------------------------------------------------------------- /torch_spotlight/plot_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/plot_utils.py -------------------------------------------------------------------------------- /torch_spotlight/run_clustering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/run_clustering.py -------------------------------------------------------------------------------- /torch_spotlight/run_spotlight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/run_spotlight.py -------------------------------------------------------------------------------- /torch_spotlight/spotlight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/spotlight.py -------------------------------------------------------------------------------- /torch_spotlight/train_fairface_adversary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/train_fairface_adversary.py -------------------------------------------------------------------------------- /torch_spotlight/update_spotlight_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/update_spotlight_format.py -------------------------------------------------------------------------------- /torch_spotlight/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/torch_spotlight/utils.py -------------------------------------------------------------------------------- /train_fairface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/train_fairface.py -------------------------------------------------------------------------------- /train_xray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gregdeon/spotlight/HEAD/train_xray.py --------------------------------------------------------------------------------