Skip to content

Conversation

@KartikP
Copy link
Contributor

@KartikP KartikP commented Mar 18, 2025

Currently, region-layer-mapping is including in the resnet50_tutorial package and a key component of Brain-Score however there is no mention of it in the tutorials.

Added a section in Deep Dive 2 that draws attention to it, particularly the importance of explicitly pre-specifying the commitment for certain models that have an implicit layer mapping.

More details should be added about how to perform this layer mapping process locally. Will be added when Jupyter Notebook uses are available on the website. For now, I think this is sufficient.

I think formatting could use some improvement. Fielding opinions.

image

Copy link
Contributor

@samwinebrake samwinebrake 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 overall!

If you think formatting could be improved, it seems like there are 3 distinct sections within the Part 7 section: layer mapping info, examples, and caveats/notes. Perhaps these could be more clearly grouped, or have subheaders? Just throwing out ideas if you weren't satisfied w/ formatting :)

Importantly, when using the JSON file approach, each layer-mapping for each model identifier must be contained in its own JSON file and be named <span class="special_format">{model_identifier}.json</span>.

</p>
<p class="benefits_info is-size-5-mobile has-text-weight-bold is-italic">
Copy link
Contributor

Choose a reason for hiding this comment

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

Just an opinion but I find the bold italic text here a little difficult to read.

If pre-committed, the layer names must match those returned by the <span class="special_format">get_layers()</span> function in the <span class="special_format">model.py</span>.
</p>
<p class="benefits_info is-size-5-mobile">
<b>Note:</b> If a submission does not include a <span class="special_format">region_layer_mapping</span> JSON file, the layer mapping will be automatically computed before scoring using
Copy link
Contributor

Choose a reason for hiding this comment

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

What about when the layer mapping is specified as in method 1?

KartikP and others added 2 commits March 24, 2025 14:43
Grammar

Co-authored-by: Sam Winebrake <85908068+samwinebrake@users.noreply.github.com>
Co-authored-by: Sam Winebrake <85908068+samwinebrake@users.noreply.github.com>
@KartikP
Copy link
Contributor Author

KartikP commented Mar 24, 2025

Looks good overall!

If you think formatting could be improved, it seems like there are 3 distinct sections within the Part 7 section: layer mapping info, examples, and caveats/notes. Perhaps these could be more clearly grouped, or have subheaders? Just throwing out ideas if you weren't satisfied w/ formatting :)

I agree! I'll spend some time in between other things to address these. Thank you :D

@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
@KartikP KartikP closed this Mar 27, 2025
@KartikP KartikP reopened this Mar 27, 2025
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.

3 participants