-
Notifications
You must be signed in to change notification settings - Fork 4
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
Code request: Scoring vision transformers on BrainScore #2
Comments
Thanks for reaching out. Let me know if that is what you are looking for! |
Hi @huzeyann Thanks for your reply. Best regards, |
here is a toy example on how the slop is computed: given the ideal layer selection weight is
this weights means V1 voxels selects first 3 layers, EBA voxels select last 3 layers the model learned layer selection weight is
then we used linear fit to compute slope
|
Thanks for the above code, it is beneficial! BrainDecodesDeepNets/brainnet/plot_utils.py Line 264 in cf63722
Does it mean that you count activations for 163842 voxels? Best regards, |
But this does not work with plmodel? |
The part of code you have pointed out is not the voxel activation, but plotting function. Please checkout https://gallantlab.org/pycortex/ for details on plotting |
hierarchy slope compute part is not yet released in this code repository |
No problem. Thanks! It would be great to know if it will be released! |
Hi, thanks for your reply. Since the plmodel should predict the activation in each voxel, then we should be able to extract |
Hi @ShreyaKapoor18 |
Hi, @huzeyann Best regards, |
def cluster_channels(weights, target_num_rois=20)
Is it one of the functions here? |
Hi @huzeyann
Thanks for this repo. I went through your work and was wondering if you could provide some
code where you score the vision transformers on brainscore?
Is it available? Were you able to score the vision transformers locally?
Best regards,
Shreya
The text was updated successfully, but these errors were encountered: