Skip to content

Commit

Permalink
revert changes to troublesome files
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ferguson committed Dec 18, 2024
1 parent 7516e89 commit e189dce
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 91 deletions.
16 changes: 8 additions & 8 deletions brainscore_vision/data/bmd2024/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,62 +7,62 @@
identifier='BMD_2024_texture_1',
version_id='0WF1iCvgHZGDrCrkigGCfUy3iGTGS69M',
sha1='050cef2bd38fe0e0c6d55c9a4ba0b1c57550a072',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=BehavioralAssembly,
stimulus_set_loader=lambda: load_stimulus_set('BMD2024.texture_1'))

data_registry['BMD2024.texture_2'] = lambda: load_assembly_from_s3(
identifier='BMD_2024_texture_2',
version_id='Exn4klT3qUYC6aQIanUox7MSjgHLn.t_',
sha1='1f9f4ee938df509c0cbeaec7fdfe0f40997da331',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=BehavioralAssembly,
stimulus_set_loader=lambda: load_stimulus_set('BMD2024.texture_2'))

data_registry['BMD2024.dotted_1'] = lambda: load_assembly_from_s3(
identifier='BMD_2024_dotted_1',
version_id='tMtSvkgphUn_C9a1WtoAWHmcgrA9oH5o',
sha1='eb16feffe392087b4c40ef249850825f702e7911',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=BehavioralAssembly,
stimulus_set_loader=lambda: load_stimulus_set('BMD2024.dotted_1'))

data_registry['BMD2024.dotted_2'] = lambda: load_assembly_from_s3(
identifier='BMD_2024_dotted_2',
version_id='JF_vla60eynLMfgqCyjjkn_u8Bb.HQOV',
sha1='297833a094513b99ae434e581df09ac64cd6582f',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=BehavioralAssembly,
stimulus_set_loader=lambda: load_stimulus_set('BMD2024.dotted_2'))


stimulus_set_registry['BMD2024.texture_1'] = lambda: load_stimulus_set_from_s3(
identifier='BMD_2024_texture_1',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1='395911b2933d675b98dda7bae422f11648d8e86d',
zip_sha1='cfde36c93dc9070ef5dfaa0a992c9d2420af3460',
csv_version_id='2815L7UhBfYYCyZ7MgNdPsOXXcRLT1YZ',
zip_version_id='EelSX0uvmm.B6LzTPtQgWbrauUmPHmjl')

stimulus_set_registry['BMD2024.texture_2'] = lambda: load_stimulus_set_from_s3(
identifier='BMD_2024_texture_2',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1='98ff8e3a1ca6f632ebc2daa909804314bc1b7e31',
zip_sha1='31c9d8449b25da8ad3cb034eee04db9193027fcb',
csv_version_id='gFqcLlA6xcmv1rpUoADKNsgyNYSV.G6T',
zip_version_id='c6B88cKdrD7YmUA1BXJoUeCMmAUbFzZw')

stimulus_set_registry['BMD2024.dotted_1'] = lambda: load_stimulus_set_from_s3(
identifier='BMD_2024_dotted_1',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1='de4214666237a0be39810ec4fefd6ec8d2a2e881',
zip_sha1='b4ab1355665b5bf3bf81b7aa6eccfd396c96bda2',
csv_version_id='8OuzqjMhNuFDu41iEjGPeNBz4I1kxlCV',
zip_version_id='ue19A9hVTDzTKaXkfnJCrKaes.JLTLtv')

stimulus_set_registry['BMD2024.dotted_2'] = lambda: load_stimulus_set_from_s3(
identifier='BMD_2024_dotted_2',
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1='4555daa5257dee10c6c6a5625d3bb2d94452e294',
zip_sha1='20337c1fac66ed0eec16410c6801cca830e6c20c',
csv_version_id='l4E.CZVizNrwprRZHIjHEppBQK8LpBHM',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ def collect_BMD2024_behavioral_assembly(data_path,condition):
assembly_identifier=assembly.name,
stimulus_set_identifier=assembly.name,
assembly_class_name="BehavioralAssembly",
bucket_name="brainscore-storage/brainio_brainscore")
bucket_name="brainio_brainscore")

print(prints)
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def collect_BMD_2024_stimulus_set(condition, stimuli_directory, meta_filepath):
prints = package_stimulus_set(catalog_name=None,
proto_stimulus_set=assembly,
stimulus_set_identifier=assembly.name,
bucket_name="brainscore-storage/brainio_brainscore")
bucket_name="brainio_brainscore")
print(prints)


11 changes: 5 additions & 6 deletions brainscore_vision/data/coggan2024_fMRI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@
# stimulus set
stimulus_set_registry['Coggan2024_fMRI'] = lambda: load_stimulus_set_from_s3(
identifier="tong.Coggan2024_fMRI",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="0089f5f8fd3f2de14de12ed736a0f88575f8e1ee",
zip_sha1="e26fdea4d866799526dea183f5bfb9792718822a",
csv_version_id="null",
zip_version_id="null")
csv_version_id="q0kxLCC8m6LSaLEQzB26sfyoKgJJwkAs",
zip_version_id="SZwyN4ZgEmpW22YlcbqIbL9c0QudlMAp")

# fMRI data
data_registry['Coggan2024_fMRI'] = lambda: load_assembly_from_s3(
identifier="tong.Coggan2024_fMRI",
version_id="null",
version_id="6P898Mio3VBsFx_qbC9rJECMELNGRprH",
sha1="da3adbca5247d0491d366f94e8431fb3e4e58db2",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=NeuroidAssembly,
stimulus_set_loader=lambda: load_stimulus_set('Coggan2024_fMRI'),
)

4 changes: 2 additions & 2 deletions brainscore_vision/data/coggan2024_fMRI/data_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
catalog_name=None,
proto_stimulus_set=stimuli,
stimulus_set_identifier=stimuli.name,
bucket_name="brainscore-storage/brainio-brainscore")
bucket_name="brainio-brainscore")
pkl.dump(packaged_stimulus_metadata, open('packaged_stimulus_metadata.pkl', 'wb'))
print(packaged_stimulus_metadata)
"""
Expand Down Expand Up @@ -115,7 +115,7 @@
assembly_identifier=assembly.name,
stimulus_set_identifier=stimuli.name,
assembly_class_name="NeuroidAssembly",
bucket_name="brainscore-storage/brainio-brainscore",
bucket_name="brainio-brainscore",
catalog_identifier=None)

# save the packaged metadata
Expand Down
52 changes: 26 additions & 26 deletions brainscore_vision/data/freemanziemba2013/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,97 +37,97 @@
# stimulus set: FreemanZiemba2013.aperture-public
stimulus_set_registry['FreemanZiemba2013.aperture-public'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013.aperture-public",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="194c9b301a4e3e9cff02481d4c19b39331d52660",
zip_sha1="3a6fec1fc28c212882d6833e267ea8654d289611",
csv_version_id="null",
zip_version_id="null",
csv_version_id="vpWysN7O7LyA9k9PBbrawXauOcqf2LoY",
zip_version_id="BQmourU.zS4hvTXs.LBIi.yVunyjZNE.",
)

# stimulus set: FreemanZiemba2013.aperture-private
stimulus_set_registry['FreemanZiemba2013.aperture-private'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013.aperture-private",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="65bee31483dd743ae2a19c6af03b9abe5f4d5a41",
zip_sha1="daa724a4797b23929df59c18744923790edf71cb",
csv_version_id="null",
zip_version_id="null",
csv_version_id="aNkWLYtttATXQ8GUD8zXIRnWq9mEsdHz",
zip_version_id="S9eCKFK5b_NcgfnkK2CcddILmkAF8cwP",
)

### secondary assemblies and stimulus sets

# assembly: movshon.FreemanZiemba2013
data_registry['FreemanZiemba2013'] = lambda: load_assembly_from_s3(
identifier="movshon.FreemanZiemba2013",
version_id="null",
version_id="knfzP5wWG3BRWgD0PGy1CXCadExElV0f",
sha1="f03f1630f0ab1e2dbd51816b47fbf2916876134e",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=NeuronRecordingAssembly,
stimulus_set_loader=lambda: load_stimulus_set('FreemanZiemba2013.aperture'),
)

# assembly: movshon.FreemanZiemba2013.noaperture
data_registry['FreemanZiemba2013.noaperture'] = lambda: load_assembly_from_s3(
identifier="movshon.FreemanZiemba2013.noaperture",
version_id="null",
version_id="3Icsm_HjYeVfzfvsaUJ5qdUT94EaXa5A",
sha1="6176fd435ab840d284c2c426742c8211622739b5",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=NeuronRecordingAssembly,
stimulus_set_loader=lambda: load_stimulus_set('FreemanZiemba2013'),
)

# assembly: movshon.FreemanZiemba2013.noaperture.public
data_registry['FreemanZiemba2013.noaperture.public'] = lambda: load_assembly_from_s3(
identifier="movshon.FreemanZiemba2013.noaperture.public",
version_id="null",
version_id="ggkwDaFLsKesxL0MZY7fMpHuw3gwaEjs",
sha1="68dd9e1da7207dc2ae17dbbb1adf628e922d15fa",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=NeuronRecordingAssembly,
stimulus_set_loader=lambda: load_stimulus_set('FreemanZiemba2013.public'),
)

# assembly: movshon.FreemanZiemba2013.noaperture.private
data_registry['FreemanZiemba2013.noaperture.private'] = lambda: load_assembly_from_s3(
identifier="movshon.FreemanZiemba2013.noaperture.private",
version_id="null",
version_id="SBtg_vxBS_7VsFOy5lBs_.6K_pQnyM40",
sha1="9ffa772ce61754f6f5b7b391436680ebc25bb8dd",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
cls=NeuronRecordingAssembly,
stimulus_set_loader=lambda: load_stimulus_set('FreemanZiemba2013.private'),
)

# stimulus set: FreemanZiemba2013
stimulus_set_registry['FreemanZiemba2013'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="de0e65a25c7de4c1740f48ac9b1ff513dcfa5caf",
zip_sha1="bdfc3ba2d878d6aeaa842f9de6abeae50922f2f2",
csv_version_id="null",
zip_version_id="null")
csv_version_id="mWuK8gDwe9IC0bdPNPCo1XldIVM_7cdF",
zip_version_id="IxjtDWqHNtPwByvvSbSueXhrrurY1wjr")

# stimulus set: FreemanZiemba2013.public
stimulus_set_registry['FreemanZiemba2013.public'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013.public",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="b4fee824f361fa0b78d7247ed4192b04cd675d4f",
zip_sha1="3a5e2cb347eb97d02ff9f7294abc11c1b45a78dc",
csv_version_id="null",
zip_version_id="null")
csv_version_id="js9ggbU.g0bbRLwpbIs6CEQ2JgQIGaRR",
zip_version_id="nb6oXpiKafGLNK0Ke6z9kEJNdZK4cOjw")

# stimulus set: FreemanZiemba2013.private
stimulus_set_registry['FreemanZiemba2013.private'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013.private",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="91bab3340410ff5171490a337c5931545f29da82",
zip_sha1="e973cf0f98eac3d9673b00b314deb3b85e76c23c",
csv_version_id="null",
zip_version_id="null")
csv_version_id="91GuIJT87Gw5qxv3EfvFD0jf7pmr_XKI",
zip_version_id="noTN92.53oxESqpZb79dJPl3EjQa41Sd")

# stimulus set: FreemanZiemba2013.aperture
stimulus_set_registry['FreemanZiemba2013.aperture'] = lambda: load_stimulus_set_from_s3(
identifier="FreemanZiemba2013.aperture",
bucket="brainscore-storage/brainio-brainscore",
bucket="brainio-brainscore",
csv_sha1="4205eca54974da46accba7812fce25c1b6df58e0",
zip_sha1="3eacddfecd825b18026da3e4c749d5d1bc9213ed",
csv_version_id="null",
zip_version_id="null")
csv_version_id="AyDAcEdwVToN_rsCuW2OHj7EZNkOu_we",
zip_version_id="APXK9Qlgn9PSRCiaWNpBaRla70HW.91h")
Loading

0 comments on commit e189dce

Please sign in to comment.