Skip to content

Commit 67dc684

Browse files
authored
Merge pull request #55 from MIPT-Oulu/benchmark_fix
fixed the benchmark values
2 parents df11086 + cbd639b commit 67dc684

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,19 @@ the libraries (number of images per second, the higher - the better):
7373

7474
| |albumentations<br><small>0.4.3</small>|torchvision (Pillow-SIMD backend)<br><small>0.5.0</small>|augmentor<br><small>0.2.8</small>|solt<br><small>0.1.9</small>|
7575
|----------------|:------------------------------------:|:-------------------------------------------------------:|:-------------------------------:|:--------------------------:|
76-
|HorizontalFlip | 2251 | 2622 | 2582 | **16544** |
77-
|VerticalFlip | 2455 | 2607 | 2571 | **25958** |
78-
|RotateAny | 1532 | 1432 | 666 | **3885** |
79-
|Crop224 | 2693 | 3091 | 3006 | **24998** |
80-
|Crop128 | 5613 | 5958 | 5748 | **24801** |
81-
|Crop64 | 9622 | 9524 | 9024 | **25036** |
82-
|Crop32 | 12407 | 11303 | 10671 | **25048** |
83-
|Pad300 | 1715 | 103 | - | **16007** |
84-
|VHFlipRotateCrop| 1598 | 1683 | 659 | **1866** |
85-
|HFlipCrop | 2460 | 2902 | 2862 | **3514** |
76+
|HorizontalFlip | 2187 | 2564 | 2550 | **3539** |
77+
|VerticalFlip | 2343 | 2572 | 2553 | **3806** |
78+
|RotateAny | 1461 | 1384 | 659 | **2010** |
79+
|Crop224 | 2567 | 2973 | 2864 | **4276** |
80+
|Crop128 | 5360 | **5663** | 5633 | 4262 |
81+
|Crop64 | **9123** | 9057 | 8900 | 4270 |
82+
|Crop32 | **11676** | 10660 | 10512 | 4249 |
83+
|Pad300 | 1634 | 109 | - | **3499** |
84+
|VHFlipRotateCrop| 1535 | 1694 | 661 | **1891** |
85+
|HFlipCrop | 2357 | 2860 | 2783 | **3510** |
8686

8787
Python and library versions: Python 3.7.0 (default, Oct 9 2018, 10:31:47) [GCC 7.3.0], numpy 1.18.1, pillow-simd 7.0.0.post3, opencv-python 4.2.0.32, scikit-image 0.16.2, scipy 1.4.1.
88+
8889
The code was run on AMD Threadripper 1900. Please find the details about the benchmark [here](BENCHMARK.md).
8990

9091
## How to contribute

benchmark/augbench/transforms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def run(self, library, imgs):
2929
for img in imgs:
3030
if library == "albumentations":
3131
transform(image=img)
32+
elif library == "solt":
33+
transform(img, return_torch=True)
3234
else:
3335
transform(img)
3436

benchmark/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ albumentations==0.4.3
22
augmentor==0.2.8
33
pillow-simd==7.0.0.post3
44
pytablewriter
5-
solt==1.9.0
5+
solt==0.1.9
66
torch==1.4.0
77
torchvision===0.5.0

0 commit comments

Comments
 (0)