Skip to content

integrate model helpers - #380

Merged
mschrimpf merged 132 commits into
brain-score:mschrimpf/integrate_modelsfrom
mschrimpf:mschrimpf/integrate_model_helpers
Jul 30, 2023
Merged

mschrimpf merged 132 commits into
brain-score:mschrimpf/integrate_modelsfrom
mschrimpf:mschrimpf/integrate_model_helpers

Conversation

@mschrimpf

@mschrimpf mschrimpf commented Jul 28, 2023 •

Copy link
Copy Markdown
Member

jjpr-mit and others added 28 commits July 13, 2021 11:44
* Update to use brainio_core package.

* Name change.

* Remove brainio-core.

* Force Jenkins re-run.

* Trigger re-run on Jenkins.
* remove check for ImageNet task

this will otherwise throw errors where the last layer has != 1000 neuroids (treated as logits). This has no effect on brain benchmarks and should imo thus not be a relevant check

* convert path to str, more instructive logs

* fix TestI2N.test_model sub-classing
counterpart to brain-score#323

* add wordnet_functions from https://github.com/bethgelab/model-vs-human/blob/745046c4d82ff884af618756bd6a5f47b6f36c45/modelvshuman/helper/wordnet_functions.py

* clean up code

but realizing that `is_hypernym` function is undefined

* implement logits to label for Geirhos et al. 2021

* use named axes for softmax

* add unit test for choice labels

* seed model

* seed custom model in init

* handle dimensions more flexibly
* use `.get_stimulus(stimulus_id)`

instead of `.get_image(image_id)`

* downgrade protobuf for keras version

attempting to fix keras import errors in http://braintree.mit.edu:8080/job/unittest_model_tools/132/

* rename image_id -> stimulus_id

* rename image_paths -> stimulus_paths
* add legacy support for LogitsBehavior class

* fix `mock_stimulus_set` call
* add documentation for testing on precomputed features

* re-add erroneously deleted content

* fix retrieval of model predictions

* make files public using predefined ACL
* Updated baker 2022

* Accuracy metric works, Engineering benchmark added

* Finalized Baker2022 Benchmark

* Added Zhu/Baker imagenet indices that do not exist.

* Update model_tools/brain_transformation/behavior.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Update model_tools/brain_transformation/behavior.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Update model_tools/brain_transformation/behavior.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Update model_tools/brain_transformation/behavior.py

Co-authored-by: Martin Schrimpf <[email protected]>

---------

Co-authored-by: Martin Schrimpf <[email protected]>
* include engineering benchmarks in standard tests again

also fix typo

* fix pool keys access
* added support for jenkins_id write

* removed redundant comment

* added DB models specification changes
* Hotfix: add jenkins_id to test_submission.py's tests

* Fixed some tests

* Fixed more tests, another submission issue
* add Islam2021 packaging file

* add Dimensionality metric

* add Islam2021Dimensionality benchmark

* add islam2021 benchmarks to benchmark pool

* clean packaging file

* add Islam2021 benchmark tests

* add islam2021 stimuli test

* Fix typo in test_islam2021.py

* Add lookup.csv entry for neil.Islam2021

* Correct benchmark name in  brainscore/benchmarks/__init__.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Change recorded bins to standard ones

Co-authored-by: Martin Schrimpf <[email protected]>

* Correct identifier of benchmark in islam2021.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Fix parent benchmark name islam2021.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Fix stimulus name in lookup.csv

Co-authored-by: Martin Schrimpf <[email protected]>

* Fix islam2021 test names in tests/test_benchmarks/test___init__.py

Co-authored-by: Martin Schrimpf <[email protected]>

* fix islam2021 stimuli test name in tests/test_stimuli.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Fix islam2021 stimuli name in tests/test_stimuli.py

Co-authored-by: Martin Schrimpf <[email protected]>

* Fix benchmark_pool keys in test_islam2021.py

* Fix stimulus name

* Add private_access to islam tests

* Fix Islam2021 stimuli name in test_stimuli

* add private_access to test_islam2021 in test_stimuli

---------

Co-authored-by: Martin Schrimpf <[email protected]>
…rain-score#369)

* Moved Islam to experimental pool, added domain to models.py

* Removed Islam2021 from engineering test pool
previously, when private tests were run, travis ran private _and_ public tests, and then in a separate run only the public tests. This changes it so that _only_ private and _only_ public tests are run separately.
…del_helpers

# Conflicts:
#	brainscore/benchmarks/__init__.py
#	brainscore_vision/benchmark_helpers/islam2021.py
#	brainscore_vision/data/majajhong2015/data_packaging/islam2021/__init__.py
#	brainscore_vision/metrics/dimensionality.py
#	brainscore_vision/submission/evaluation.py
#	tests/test_benchmark_helpers/test_islam2021.py
#	tests/test_stimuli.py
@mschrimpf
mschrimpf merged commit 8c766f8 into brain-score:mschrimpf/integrate_models Jul 30, 2023
@mschrimpf
mschrimpf deleted the mschrimpf/integrate_model_helpers branch July 30, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants