navvew commited on
Commit
c60b872
·
verified ·
1 Parent(s): f2d0a7a

Upload folder using huggingface_hub

Browse files
metadata/encoder_registry.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full_subj01-08": {
3
+ "relative_path": "models/image_to_fmri/full_subj01-08.pth",
4
+ "trained_subjects": [
5
+ 1,
6
+ 2,
7
+ 3,
8
+ 4,
9
+ 5,
10
+ 6,
11
+ 7,
12
+ 8
13
+ ],
14
+ "voxel_index_mode": "model_local_multi_subject",
15
+ "source": "provided_full_model"
16
+ },
17
+ "loo_without_subj01": {
18
+ "relative_path": "models/image_to_fmri/loo_without_subj01.pth",
19
+ "trained_subjects": [
20
+ 2,
21
+ 3,
22
+ 4,
23
+ 5,
24
+ 6,
25
+ 7,
26
+ 8
27
+ ],
28
+ "voxel_index_mode": "model_local_multi_subject",
29
+ "source": "provided_leave_one_subject_out_model",
30
+ "description": "Leave-one-out model trained without subj01"
31
+ },
32
+ "loo_without_subj02": {
33
+ "relative_path": "models/image_to_fmri/loo_without_subj02.pth",
34
+ "trained_subjects": [
35
+ 1,
36
+ 3,
37
+ 4,
38
+ 5,
39
+ 6,
40
+ 7,
41
+ 8
42
+ ],
43
+ "voxel_index_mode": "model_local_multi_subject",
44
+ "source": "provided_leave_one_subject_out_model"
45
+ },
46
+ "loo_without_subj03": {
47
+ "relative_path": "models/image_to_fmri/loo_without_subj03.pth",
48
+ "trained_subjects": [
49
+ 1,
50
+ 2,
51
+ 4,
52
+ 5,
53
+ 6,
54
+ 7,
55
+ 8
56
+ ],
57
+ "voxel_index_mode": "model_local_multi_subject",
58
+ "source": "provided_leave_one_subject_out_model"
59
+ },
60
+ "loo_without_subj04": {
61
+ "relative_path": "models/image_to_fmri/loo_without_subj04.pth",
62
+ "trained_subjects": [
63
+ 1,
64
+ 2,
65
+ 3,
66
+ 5,
67
+ 6,
68
+ 7,
69
+ 8
70
+ ],
71
+ "voxel_index_mode": "model_local_multi_subject",
72
+ "source": "provided_leave_one_subject_out_model"
73
+ },
74
+ "loo_without_subj05": {
75
+ "relative_path": "models/image_to_fmri/loo_without_subj05.pth",
76
+ "trained_subjects": [
77
+ 1,
78
+ 2,
79
+ 3,
80
+ 4,
81
+ 6,
82
+ 7,
83
+ 8
84
+ ],
85
+ "voxel_index_mode": "model_local_multi_subject",
86
+ "source": "provided_leave_one_subject_out_model"
87
+ },
88
+ "loo_without_subj06": {
89
+ "relative_path": "models/image_to_fmri/loo_without_subj06.pth",
90
+ "trained_subjects": [
91
+ 1,
92
+ 2,
93
+ 3,
94
+ 4,
95
+ 5,
96
+ 7,
97
+ 8
98
+ ],
99
+ "voxel_index_mode": "model_local_multi_subject",
100
+ "source": "provided_leave_one_subject_out_model"
101
+ },
102
+ "loo_without_subj07": {
103
+ "relative_path": "models/image_to_fmri/loo_without_subj07.pth",
104
+ "trained_subjects": [
105
+ 1,
106
+ 2,
107
+ 3,
108
+ 4,
109
+ 5,
110
+ 6,
111
+ 8
112
+ ],
113
+ "voxel_index_mode": "model_local_multi_subject",
114
+ "source": "provided_leave_one_subject_out_model"
115
+ },
116
+ "loo_without_subj08": {
117
+ "relative_path": "models/image_to_fmri/loo_without_subj08.pth",
118
+ "trained_subjects": [
119
+ 1,
120
+ 2,
121
+ 3,
122
+ 4,
123
+ 5,
124
+ 6,
125
+ 7
126
+ ],
127
+ "voxel_index_mode": "model_local_multi_subject",
128
+ "source": "provided_leave_one_subject_out_model"
129
+ },
130
+ "full": {
131
+ "relative_path": "models/image_to_fmri/full_subj01-08.pth",
132
+ "trained_subjects": [
133
+ 1,
134
+ 2,
135
+ 3,
136
+ 4,
137
+ 5,
138
+ 6,
139
+ 7,
140
+ 8
141
+ ],
142
+ "voxel_index_mode": "model_local_multi_subject",
143
+ "source": "provided_full_model"
144
+ },
145
+ "remove0": {
146
+ "relative_path": "models/image_to_fmri/loo_without_subj01.pth",
147
+ "trained_subjects": [
148
+ 2,
149
+ 3,
150
+ 4,
151
+ 5,
152
+ 6,
153
+ 7,
154
+ 8
155
+ ],
156
+ "voxel_index_mode": "model_local_multi_subject",
157
+ "source": "provided_leave_one_subject_out_model",
158
+ "description": "Leave-one-out model trained without subj01"
159
+ },
160
+ "transfer_full_to_subj05_type1_fulltrain": {
161
+ "relative_path": "models/image_to_fmri/transfer_single_subject/transfer_full_to_subj05_type1_fulltrain.pth",
162
+ "trained_subjects": [
163
+ 5
164
+ ],
165
+ "voxel_index_mode": "single_subject_local",
166
+ "source": "transfer_single_subject",
167
+ "base_model_option": "full",
168
+ "target_subject": 5,
169
+ "type_sample_value": 1,
170
+ "train_data": "type_sample==1 per-subject full train set",
171
+ "epochs": 30,
172
+ "batch_size": 32,
173
+ "lr": 0.001,
174
+ "num_voxels_to_sample": 5000,
175
+ "max_shift": 3
176
+ },
177
+ "transfer_full_to_subj01_type1_fulltrain": {
178
+ "relative_path": "models/image_to_fmri/transfer_single_subject/transfer_full_to_subj01_type1_fulltrain.pth",
179
+ "trained_subjects": [
180
+ 1
181
+ ],
182
+ "voxel_index_mode": "single_subject_local",
183
+ "source": "transfer_single_subject",
184
+ "base_model_option": "full",
185
+ "target_subject": 1,
186
+ "type_sample_value": 1,
187
+ "train_data": "type_sample==1 per-subject full train set",
188
+ "epochs": 1,
189
+ "batch_size": 32,
190
+ "lr": 0.001,
191
+ "num_voxels_to_sample": 5000,
192
+ "max_shift": 3
193
+ },
194
+ "transfer_loo_without_subj01_to_subj01_type1_fulltrain": {
195
+ "relative_path": "models/image_to_fmri/transfer_single_subject/transfer_loo_without_subj01_to_subj01_type1_fulltrain.pth",
196
+ "trained_subjects": [
197
+ 1
198
+ ],
199
+ "voxel_index_mode": "single_subject_local",
200
+ "source": "transfer_single_subject",
201
+ "base_model_option": "loo_without_subj01",
202
+ "target_subject": 1,
203
+ "type_sample_value": 1,
204
+ "train_data": "type_sample==1 per-subject full train set",
205
+ "epochs": 1,
206
+ "batch_size": 32,
207
+ "lr": 0.001,
208
+ "num_voxels_to_sample": 5000,
209
+ "max_shift": 3
210
+ },
211
+ "transfer_loo_without_subj01_to_subj01_type1_random_subset_n100_seed0": {
212
+ "relative_path": "models/image_to_fmri/transfer_single_subject/transfer_loo_without_subj01_to_subj01_type1_random_subset_n100_seed0.pth",
213
+ "trained_subjects": [
214
+ 1
215
+ ],
216
+ "voxel_index_mode": "single_subject_local",
217
+ "source": "transfer_single_subject",
218
+ "base_model_option": "loo_without_subj01",
219
+ "target_subject": 1,
220
+ "type_sample_value": 1,
221
+ "train_data": "type_sample==1 per-subject train set",
222
+ "train_selection": "random_subset",
223
+ "n_train": 100,
224
+ "epochs": 30,
225
+ "batch_size": 32,
226
+ "lr": 0.001,
227
+ "num_voxels_to_sample": 5000,
228
+ "max_shift": 3,
229
+ "image_size": 224,
230
+ "selected_indices_saved": false,
231
+ "selected_indices_note": "Indices are not stored in the registry; see returned meta if needed."
232
+ },
233
+ "transfer_loo_without_subj01_to_subj01_type1_random_subset_n200_seed0": {
234
+ "relative_path": "models/image_to_fmri/transfer_single_subject/transfer_loo_without_subj01_to_subj01_type1_random_subset_n200_seed0.pth",
235
+ "trained_subjects": [
236
+ 1
237
+ ],
238
+ "voxel_index_mode": "single_subject_local",
239
+ "source": "transfer_single_subject",
240
+ "base_model_option": "loo_without_subj01",
241
+ "target_subject": 1,
242
+ "type_sample_value": 1,
243
+ "train_data": "type_sample==1 per-subject train set",
244
+ "train_selection": "random_subset",
245
+ "n_train": 200,
246
+ "epochs": 30,
247
+ "batch_size": 32,
248
+ "lr": 0.001,
249
+ "num_voxels_to_sample": 5000,
250
+ "max_shift": 3,
251
+ "image_size": 224,
252
+ "selected_indices_saved": false,
253
+ "selected_indices_note": "Indices are not stored in the registry; see returned meta if needed."
254
+ }
255
+ }
metadata/manifest.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "images": "images/all_images_256.npy",
3
+ "fmri": "fmri/fmri_all_subjects.npz",
4
+ "voxel_counts": "metadata/num_voxels_all_subjects.npy",
5
+ "roi_masks_root": "roi_masks",
6
+ "dinov2_repo": "external_models/dinov2",
7
+ "model_registry": "metadata/encoder_registry.json",
8
+ "subject_indexing_user_api": "1-based: subj01=1, ..., subj08=8"
9
+ }
metadata/num_voxels_all_subjects.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4444dab9b4a355575fa0f2cb4a70ce7f8398a1f323fb9b5d800d8523e85cbf04
3
+ size 256