Skip to content

Commit e3d4c68

Browse files
authored
Update README.md
1 parent b21b0c8 commit e3d4c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You should read the [full documentation here](https://paperswithcode.github.io/s
3131

3232
Integration is lightweight. For example, if you are evaluating an ImageNet model, you initialize an Evaluator object and (optionally) link to the paper where the model originated from to compare with published results:
3333

34-
```
34+
```python
3535
from sotabencheval.image_classification import ImageNetEvaluator
3636
evaluator = ImageNetEvaluator(
3737
model_name='ResNeXt-101-32x8d',
@@ -40,7 +40,7 @@ evaluator = ImageNetEvaluator(
4040

4141
Then for each batch of predictions your model makes on ImageNet, you pass a dictionary of keys as image IDs and values as output predictions to the `evaluator.add` method:
4242

43-
```
43+
```python
4444
evaluator.add(dict(zip(image_ids, batch_output)))
4545
```
4646

0 commit comments

Comments
 (0)