Skip to content

adding ImageNet_C benchmark - #232

Merged
mschrimpf merged 9 commits into
brain-score:masterfrom
dapello:master
Sep 28, 2020
Merged

mschrimpf merged 9 commits into
brain-score:masterfrom
dapello:master

Conversation

@dapello

@dapello dapello commented Sep 14, 2020

Copy link
Copy Markdown
Contributor

I think it should look something like this -- I'm not so sure about the update to the __init__.py file; maybe I should be calling the noise categories individually?

Also, I haven't editted Accuracy yet. Still think that needs a tad more thought.

Take a look and let me know what you all think.

Joel Dapello and others added 3 commits September 14, 2020 00:25
@dapello

dapello commented Sep 15, 2020

Copy link
Copy Markdown
Contributor Author

I've made the changes we discussed, feel free to review now.

Comment thread brainscore/benchmarks/imagenet_c.py Resolved
add url for bibtex reference
@mschrimpf

Copy link
Copy Markdown
Member

ok the failing unit tests are:

  • TestPoolList.test_exact_evaluation_pool because the ImageNetC benchmarks are not in the evaluation pool
  • test_imagenet_c.py because brainio_collection.lookup.StimulusSetLookupError: 'stimulus_set dietterich.Hendrycks2019.gaussian_noise_1 not found', i.e. it's not packaged?

add imagenet_c benchmark keys
@mschrimpf

Copy link
Copy Markdown
Member

re-triggering tests after brain-score/brainio_collection#41 was merged

@mschrimpf mschrimpf closed this Sep 23, 2020
@mschrimpf mschrimpf reopened this Sep 23, 2020
@mschrimpf mschrimpf closed this Sep 24, 2020
@mschrimpf mschrimpf reopened this Sep 24, 2020
@mschrimpf

mschrimpf commented Sep 24, 2020 •

Copy link
Copy Markdown
Member

updated S3 policy: make only .zip public (including .csv goes above the max policy size)
edit: successfully using wildcard now

@mschrimpf

Copy link
Copy Markdown
Member

@dapello when you re-packaged things, your lookup.csv was updated yes? for some reason the SHA1 hashes are different (this happened to me too, I'm guessing it's because zipping is non-deterministic) -- can you please update/renew a PR in brainio_collection to update the lookup.csv with the correct hashes? that's the only reason for the failing test as far as I can tell.

@mschrimpf

mschrimpf commented Sep 28, 2020 •

Copy link
Copy Markdown
Member

re-trigger with updated lookup.csv (brain-score/brainio_collection#44)

@mschrimpf mschrimpf closed this Sep 28, 2020
@mschrimpf mschrimpf reopened this Sep 28, 2020
@mschrimpf
mschrimpf merged commit 05520e4 into brain-score:master Sep 28, 2020
Nishant-codex pushed a commit to Nishant-codex/vision that referenced this pull request Jul 2, 2026
* adding ImageNet_C benchmark

* updated imagenet c benchmark to run as 4 categories, and added a unit test. also fixed Imagenet benchmark accuracy issue.

* Update imagenet_c.py

remove comment

* Update imagenet_c.py

add url for bibtex reference

* Update test___init__.py

add imagenet_c benchmark keys

* Update test_imagenet_c.py

uncomment pytest.mark.slow

* use imagenet's NUMBER_OF_TRIALS in imagenet_c

* add number_of_trials to test-BrainModels

Co-authored-by: Joel Dapello <[email protected]>
Co-authored-by: Joel Dapello <[email protected]>
Co-authored-by: Martin Schrimpf <[email protected]>
Co-authored-by: Martin Schrimpf <[email protected]>
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.

2 participants