├── .gitignore ├── LICENSE ├── Makefile ├── configs ├── extract_features.toml ├── human_dnn_comparison.toml ├── human_labeling.toml ├── interpretability_analyses.toml ├── train_behavior.toml ├── train_dnn.toml ├── train_spose_behavior.toml └── tripletize_features.toml ├── docs └── README.md ├── experiments ├── README.md ├── dimension_rating_experiment │ ├── app.py │ ├── static │ │ └── css │ │ │ └── style.css │ └── templates │ │ ├── base.html │ │ ├── consent.html │ │ ├── data.html │ │ ├── end.html │ │ ├── index.html │ │ └── instructions.html ├── dnn_experiments │ ├── README.md │ ├── linear_model.py │ ├── run_activation_maximization.py │ ├── run_causal.py │ └── run_grad_cam.py ├── human_labeling │ ├── correlate_spose_vice.py │ ├── dnn_dimension_labeling.py │ ├── dnn_dimension_ratings.py │ ├── dnn_intermediate_ratings.py │ └── map_wordclouds_spose_vice.py ├── jackknife │ ├── plotting.py │ └── run_jackknife.py ├── rsa │ ├── cumulative.py │ ├── global_analysis.py │ ├── image_similarity.py │ ├── pairwise.py │ └── run_rsa_analysis.py ├── run_comparison.py ├── run_reproducibility.py └── semantic_embedding │ ├── semantic.py │ ├── semantic_model.py │ └── semantic_validation.py ├── objdim ├── __init__.py ├── core │ ├── __init__.py │ ├── dataset.py │ ├── embedding.py │ ├── engine.py │ ├── logging.py │ ├── priors.py │ └── pruning.py ├── sampler.py └── utils │ ├── __init__.py │ ├── data.py │ ├── predictor.py │ ├── rsa.py │ ├── stats.py │ └── visualization.py ├── poetry.lock ├── pyproject.toml ├── run_feature_extraction.py ├── run_optimization.py ├── run_tripletization.py └── scripts ├── demo.ipynb ├── get_stylegan_xl.sh ├── get_things_data.py ├── human_dnn.sh └── interpretability_analysis.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/Makefile -------------------------------------------------------------------------------- /configs/extract_features.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/extract_features.toml -------------------------------------------------------------------------------- /configs/human_dnn_comparison.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/human_dnn_comparison.toml -------------------------------------------------------------------------------- /configs/human_labeling.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/human_labeling.toml -------------------------------------------------------------------------------- /configs/interpretability_analyses.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/interpretability_analyses.toml -------------------------------------------------------------------------------- /configs/train_behavior.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/train_behavior.toml -------------------------------------------------------------------------------- /configs/train_dnn.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/train_dnn.toml -------------------------------------------------------------------------------- /configs/train_spose_behavior.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/train_spose_behavior.toml -------------------------------------------------------------------------------- /configs/tripletize_features.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/configs/tripletize_features.toml -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/docs/README.md -------------------------------------------------------------------------------- /experiments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/README.md -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/app.py -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/static/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/static/css/style.css -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/base.html -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/consent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/consent.html -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/data.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/data.html -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/end.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/end.html -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/index.html -------------------------------------------------------------------------------- /experiments/dimension_rating_experiment/templates/instructions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dimension_rating_experiment/templates/instructions.html -------------------------------------------------------------------------------- /experiments/dnn_experiments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dnn_experiments/README.md -------------------------------------------------------------------------------- /experiments/dnn_experiments/linear_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dnn_experiments/linear_model.py -------------------------------------------------------------------------------- /experiments/dnn_experiments/run_activation_maximization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dnn_experiments/run_activation_maximization.py -------------------------------------------------------------------------------- /experiments/dnn_experiments/run_causal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dnn_experiments/run_causal.py -------------------------------------------------------------------------------- /experiments/dnn_experiments/run_grad_cam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/dnn_experiments/run_grad_cam.py -------------------------------------------------------------------------------- /experiments/human_labeling/correlate_spose_vice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/human_labeling/correlate_spose_vice.py -------------------------------------------------------------------------------- /experiments/human_labeling/dnn_dimension_labeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/human_labeling/dnn_dimension_labeling.py -------------------------------------------------------------------------------- /experiments/human_labeling/dnn_dimension_ratings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/human_labeling/dnn_dimension_ratings.py -------------------------------------------------------------------------------- /experiments/human_labeling/dnn_intermediate_ratings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/human_labeling/dnn_intermediate_ratings.py -------------------------------------------------------------------------------- /experiments/human_labeling/map_wordclouds_spose_vice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/human_labeling/map_wordclouds_spose_vice.py -------------------------------------------------------------------------------- /experiments/jackknife/plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/jackknife/plotting.py -------------------------------------------------------------------------------- /experiments/jackknife/run_jackknife.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/jackknife/run_jackknife.py -------------------------------------------------------------------------------- /experiments/rsa/cumulative.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/rsa/cumulative.py -------------------------------------------------------------------------------- /experiments/rsa/global_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/rsa/global_analysis.py -------------------------------------------------------------------------------- /experiments/rsa/image_similarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/rsa/image_similarity.py -------------------------------------------------------------------------------- /experiments/rsa/pairwise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/rsa/pairwise.py -------------------------------------------------------------------------------- /experiments/rsa/run_rsa_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/rsa/run_rsa_analysis.py -------------------------------------------------------------------------------- /experiments/run_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/run_comparison.py -------------------------------------------------------------------------------- /experiments/run_reproducibility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/run_reproducibility.py -------------------------------------------------------------------------------- /experiments/semantic_embedding/semantic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/semantic_embedding/semantic.py -------------------------------------------------------------------------------- /experiments/semantic_embedding/semantic_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/semantic_embedding/semantic_model.py -------------------------------------------------------------------------------- /experiments/semantic_embedding/semantic_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/experiments/semantic_embedding/semantic_validation.py -------------------------------------------------------------------------------- /objdim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/__init__.py -------------------------------------------------------------------------------- /objdim/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/__init__.py -------------------------------------------------------------------------------- /objdim/core/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/dataset.py -------------------------------------------------------------------------------- /objdim/core/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/embedding.py -------------------------------------------------------------------------------- /objdim/core/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/engine.py -------------------------------------------------------------------------------- /objdim/core/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/logging.py -------------------------------------------------------------------------------- /objdim/core/priors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/priors.py -------------------------------------------------------------------------------- /objdim/core/pruning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/core/pruning.py -------------------------------------------------------------------------------- /objdim/sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/sampler.py -------------------------------------------------------------------------------- /objdim/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/__init__.py -------------------------------------------------------------------------------- /objdim/utils/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/data.py -------------------------------------------------------------------------------- /objdim/utils/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/predictor.py -------------------------------------------------------------------------------- /objdim/utils/rsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/rsa.py -------------------------------------------------------------------------------- /objdim/utils/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/stats.py -------------------------------------------------------------------------------- /objdim/utils/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/objdim/utils/visualization.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/pyproject.toml -------------------------------------------------------------------------------- /run_feature_extraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/run_feature_extraction.py -------------------------------------------------------------------------------- /run_optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/run_optimization.py -------------------------------------------------------------------------------- /run_tripletization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/run_tripletization.py -------------------------------------------------------------------------------- /scripts/demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/scripts/demo.ipynb -------------------------------------------------------------------------------- /scripts/get_stylegan_xl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/scripts/get_stylegan_xl.sh -------------------------------------------------------------------------------- /scripts/get_things_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/scripts/get_things_data.py -------------------------------------------------------------------------------- /scripts/human_dnn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/scripts/human_dnn.sh -------------------------------------------------------------------------------- /scripts/interpretability_analysis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/florianmahner/object-dimensions/HEAD/scripts/interpretability_analysis.sh --------------------------------------------------------------------------------