Skip to content

Commit 62105ed

Browse files
committed
Better differentiate sotabench WSL, SSL, and SWSL models via model_desc
1 parent c099374 commit 62105ed

File tree

1 file changed

+40
-30
lines changed

1 file changed

+40
-30
lines changed

sotabench.py

Lines changed: 40 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -154,77 +154,87 @@ def _entry(model_name, paper_model_name, paper_arxiv_id, batch_size=BATCH_SIZE,
154154
# _entry('wide_resnet101_2', , ),
155155

156156
## Facebook WSL weights
157-
_entry('ig_resnext101_32x8d', 'ResNeXt-101 32x8d', '1805.00932'),
158-
_entry('ig_resnext101_32x16d', 'ResNeXt-101 32x16d', '1805.00932'),
159-
_entry('ig_resnext101_32x32d', 'ResNeXt-101 32x32d', '1805.00932', batch_size=BATCH_SIZE // 2),
160-
_entry('ig_resnext101_32x48d', 'ResNeXt-101 32x48d', '1805.00932', batch_size=BATCH_SIZE // 4),
157+
_entry('ig_resnext101_32x8d', 'ResNeXt-101 32x8d', '1805.00932',
158+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
159+
_entry('ig_resnext101_32x16d', 'ResNeXt-101 32x16d', '1805.00932',
160+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
161+
_entry('ig_resnext101_32x32d', 'ResNeXt-101 32x32d', '1805.00932', batch_size=BATCH_SIZE // 2,
162+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
163+
_entry('ig_resnext101_32x48d', 'ResNeXt-101 32x48d', '1805.00932', batch_size=BATCH_SIZE // 4,
164+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
165+
161166
_entry('ig_resnext101_32x8d', 'ResNeXt-101 32x8d (288x288 Mean-Max Pooling)', '1805.00932',
162-
ttp=True, args=dict(img_size=288)),
167+
ttp=True, args=dict(img_size=288),
168+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
163169
_entry('ig_resnext101_32x16d', 'ResNeXt-101 32x16d (288x288 Mean-Max Pooling)', '1805.00932',
164-
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 2),
170+
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 2,
171+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
165172
_entry('ig_resnext101_32x32d', 'ResNeXt-101 32x32d (288x288 Mean-Max Pooling)', '1805.00932',
166-
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 4),
173+
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 4,
174+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
167175
_entry('ig_resnext101_32x48d', 'ResNeXt-101 32x48d (288x288 Mean-Max Pooling)', '1805.00932',
168-
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 8),
176+
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 8,
177+
model_desc='Weakly-Supervised pre-training on 1B Instagram hashtag dataset by Facebook Research'),
169178

170179
## Facebook SSL weights
171180
_entry('ssl_resnet18', 'ResNet-18', '1905.00546',
172-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
181+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
173182
_entry('ssl_resnet50', 'ResNet-50', '1905.00546',
174-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
183+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
175184
_entry('ssl_resnext50_32x4d', 'ResNeXt-50 32x4d', '1905.00546',
176-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
185+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
177186
_entry('ssl_resnext101_32x4d', 'ResNeXt-101 32x4d', '1905.00546',
178-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
187+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
179188
_entry('ssl_resnext101_32x8d', 'ResNeXt-101 32x8d', '1905.00546',
180-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
189+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
181190
_entry('ssl_resnext101_32x16d', 'ResNeXt-101 32x16d', '1905.00546',
182-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
191+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
183192

184193
_entry('ssl_resnet50', 'ResNet-50 (288x288 Mean-Max Pooling)', '1905.00546',
185194
ttp=True, args=dict(img_size=288),
186-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
195+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
187196
_entry('ssl_resnext50_32x4d', 'ResNeXt-50 32x4d (288x288 Mean-Max Pooling)', '1905.00546',
188197
ttp=True, args=dict(img_size=288),
189-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
198+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
190199
_entry('ssl_resnext101_32x4d', 'ResNeXt-101 32x4d (288x288 Mean-Max Pooling)', '1905.00546',
191200
ttp=True, args=dict(img_size=288),
192-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
201+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
193202
_entry('ssl_resnext101_32x8d', 'ResNeXt-101 32x8d (288x288 Mean-Max Pooling)', '1905.00546',
194203
ttp=True, args=dict(img_size=288),
195-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
204+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
196205
_entry('ssl_resnext101_32x16d', 'ResNeXt-101 32x16d (288x288 Mean-Max Pooling)', '1905.00546',
197206
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 2,
198-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
207+
model_desc='Semi-Supervised pre-training on YFCC100M dataset by Facebook Research'),
199208

200209
## Facebook SWSL weights
201210
_entry('swsl_resnet18', 'ResNet-18', '1905.00546',
202-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
211+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
203212
_entry('swsl_resnet50', 'ResNet-50', '1905.00546',
204-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
213+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
205214
_entry('swsl_resnext50_32x4d', 'ResNeXt-50 32x4d', '1905.00546',
206-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
215+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
207216
_entry('swsl_resnext101_32x4d', 'ResNeXt-101 32x4d', '1905.00546',
208-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
217+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
209218
_entry('swsl_resnext101_32x8d', 'ResNeXt-101 32x8d', '1905.00546',
210-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
211-
_entry('swsl_resnext101_32x16d', 'ResNeXt-101 32x16d', '1905.00546'),
219+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
220+
_entry('swsl_resnext101_32x16d', 'ResNeXt-101 32x16d', '1905.00546',
221+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
212222

213223
_entry('swsl_resnet50', 'ResNet-50 (288x288 Mean-Max Pooling)', '1905.00546',
214224
ttp=True, args=dict(img_size=288),
215-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
225+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
216226
_entry('swsl_resnext50_32x4d', 'ResNeXt-50 32x4d (288x288 Mean-Max Pooling)', '1905.00546',
217227
ttp=True, args=dict(img_size=288),
218-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
228+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
219229
_entry('swsl_resnext101_32x4d', 'ResNeXt-101 32x4d (288x288 Mean-Max Pooling)', '1905.00546',
220230
ttp=True, args=dict(img_size=288),
221-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
231+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
222232
_entry('swsl_resnext101_32x8d', 'ResNeXt-101 32x8d (288x288 Mean-Max Pooling)', '1905.00546',
223233
ttp=True, args=dict(img_size=288),
224-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
234+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
225235
_entry('swsl_resnext101_32x16d', 'ResNeXt-101 32x16d (288x288 Mean-Max Pooling)', '1905.00546',
226236
ttp=True, args=dict(img_size=288), batch_size=BATCH_SIZE // 2,
227-
model_desc='Weights from https://github.com/facebookresearch/semi-supervised-ImageNet1K-models/'),
237+
model_desc='Semi-Weakly-Supervised pre-training on 1 billion unlabelled dataset by Facebook Research'),
228238

229239
## DLA official impl weights (to remove if sotabench added to source)
230240
_entry('dla34', 'DLA-34', '1707.06484'),

0 commit comments

Comments
 (0)