Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add callable microsaccades as intended by #492 #917

Merged
merged 9 commits into from
Jun 24, 2024

Conversation

benlonnqvist
Copy link
Contributor

@benlonnqvist benlonnqvist commented Jun 14, 2024

PR #492 added microsaccades to brain-score but unintendedly, were only accessible by directly accessing the activations_model._extractor. This PR extends the microsaccades to be callable from the model.look_at() method (for testing stimuli) and model.start_task() method (for fitting stimuli), as intended by the description of PR #492.

In short, this PR simply extends the call signature of require_variance and number_of_trials a bit further than before.

PR #365 depends on this PR.

  • add a test to catch errors with attach_stimulus_set_meta shape when called from from_stimulus_set

@benlonnqvist benlonnqvist marked this pull request as draft June 14, 2024 13:37
@benlonnqvist benlonnqvist reopened this Jun 17, 2024
@benlonnqvist benlonnqvist marked this pull request as ready for review June 17, 2024 11:52
Copy link
Member

@mschrimpf mschrimpf left a comment

Choose a reason for hiding this comment

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

looks good once you address suggestions

benlonnqvist and others added 4 commits June 21, 2024 08:15
Co-authored-by: Martin Schrimpf <mschrimpf@users.noreply.github.com>
…rbiters (required since the generic look_at no longer takes kwargs but specifically require_variance)
@benlonnqvist
Copy link
Contributor Author

benlonnqvist commented Jun 21, 2024

@mschrimpf Looks like it's all green now - should be good to merge

@mschrimpf mschrimpf merged commit cb175d1 into brain-score:master Jun 24, 2024
10 of 11 checks passed
@benlonnqvist benlonnqvist deleted the callable_microsaccades branch June 24, 2024 12:16
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