Skip to content

Transfer plugin information by artifact for scoring runs - #592

Merged
kvfairchild merged 2 commits into
masterfrom
sw/fix_score_plugins
Mar 5, 2024
Merged

kvfairchild merged 2 commits into
masterfrom
sw/fix_score_plugins

Conversation

@samwinebrake

Copy link
Copy Markdown
Collaborator

Builds on PR #581

The output of the process_submission job wasn't being transferred to the run_scoring job due to github thinking secrets were present (See here for an example of the following: Warning: Skip output 'PLUGIN_INFO' since it may contain secret.)

Now, PLUGIN_INFO is uploaded securely as an artifact after the process_submission job and then downloaded as an artifact in the run_scoring job, avoiding github's filtering.

@pellegreene pellegreene left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like Jenkins CI is failing because of multiple AlexNets being registered, which is due to something I did on my end in Submission Pipeline testing(and I'm fixing it now).

That aside, this PR looks good to me, I'm comfortable merging it.

@kvfairchild
kvfairchild merged commit 75a496b into master Mar 5, 2024
@kvfairchild
kvfairchild deleted the sw/fix_score_plugins branch March 5, 2024 18:15
@samwinebrake samwinebrake self-assigned this Mar 5, 2024
samwinebrake added a commit that referenced this pull request Mar 8, 2024
* email fix for score_plugins workflow (#581)

* Emails passed to jenkins

* Update .github/workflows/score_new_plugins.yml

Co-authored-by: Katherine Fairchild <[email protected]>

* fix deprecated set output

---------

Co-authored-by: Katherine Fairchild <[email protected]>

* add eBarlow_Vanilla to models (#587)

Co-authored-by: AutoJenkins <[email protected]>

* add eBarlow_lmda_01 to models (#588)

Co-authored-by: AutoJenkins <[email protected]>

* add cornet_s_0_0_0 to models (#589)

Co-authored-by: AutoJenkins <[email protected]>

* add unet_ethan to models (#590)

Co-authored-by: AutoJenkins <[email protected]>

* add unet_ethan to models (#591)

Co-authored-by: AutoJenkins <[email protected]>

* Revert "add unet_ethan to models (#591)" (#594)

This reverts commit c89059e.

* Revert "add unet_ethan to models (#590)" (#595)

This reverts commit 9a8774a.

* Transfer plugin information by artifact for scoring runs (#592)

* upload and download json artifact between jobs

* fix testing changes

* brain-score.org (user:514) | Add new plugin(s): models: [cornet_s_0_0_0 cornet_s_0_1_0]  | (public:False) (#603)

* add cornet_s_0_0_0 to models

* add cornet_s_0_1_0 to models

---------

Co-authored-by: AutoJenkins <[email protected]>

* Add microsaccades: interface and default model helper (#492)

* integrate brain-score/model-tools#75 to brain-score/vision

* add exception for when temp file write fails

* fix error with tf temp file management

* add bandaid to a DataAssembly index problem

* move microsaccades to the model side

* update comments

* remove indexing bug

* fix bug with activations.shape

* Apply suggestions from code review

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

* Delete brainscore_vision/data/scialom2024/__init__.py

* address review changes

* remove needless import

* fix bug with temporary file handling test

* assume number_of_trials=1 and require_variance=False when getting stored activations

* fix bug with access to ActivationsExtractorHelper.set_visual_degrees

* move extractor calls to ModelCommitment generic

* add check for whether activations_model exists

* fix bug with TestVisualDegrees

* add link to BrainModel issue

* remove shifts from stimulus set packaging

* change link signatures

* change microsaccade call signature

* microsaccades are now computed on both a pixel and degree basis

* Apply suggestions from code review

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

* fix outdated comments, type hints, etc.

* change function call to reduce repetition

* add kwargs to microsaccade helpers

* refactor microsaccade usage to their own class to improve readability

* refactor microsaccade coords into MicrosaccadeHelper

* refactor microsaccade building

* change the way MultiIndex is set

* fix tf/pytorch/keras bug with image shape calculation

* cv2 reshaping in translate

* add test for exact microsaccades

* fix microsaccade indexing

* rename test to be in line with current naming

* add require_variance to _from_paths_stored

* reduce unnecessarily long test times by reducing the number of trials tests run for, while keeping the test the same

---------

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

* Use MajajHong2015public.IT instead of mock data (#585)

* Changed _MockBenchmark to new format

* revert ceiler back to martin's suggestion

* implemented MockBenchmark to use MJ2015 Public

---------

Co-authored-by: Katherine Fairchild <[email protected]>
Co-authored-by: AutoJenkins <[email protected]>
Co-authored-by: Ben Lonnqvist <[email protected]>
Co-authored-by: Martin Schrimpf <[email protected]>
Co-authored-by: Michael Ferguson <[email protected]>
Nishant-codex pushed a commit to Nishant-codex/vision that referenced this pull request Jul 2, 2026
…#592)

* upload and download json artifact between jobs

* fix testing changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants