-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added doctring to from_float * Added hflip * Added benchamrk * More clear benchmark * cleanup
- Loading branch information
Showing
19 changed files
with
527 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
__version__ = "0.0.15" | ||
__version__ = "0.0.16" | ||
|
||
from .functions import * | ||
from .utils import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: HorizontalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
HorizontalFlip 7655 ± 491 nan 4126 ± 239 3476 ± 119 5027 ± 318 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:---------------|:-----------|------:|:-----------|:-----------|:--------------| | ||
| HorizontalFlip | 7655 ± 491 | nan | 4126 ± 239 | 3476 ± 119 | 5027 ± 318 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: VerticalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
VerticalFlip 2602 ± 600 nan 1800 ± 527 2276 ± 884 3585 ± 1422 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:-------------|:-----------|------:|:-----------|:-----------|:--------------| | ||
| VerticalFlip | 2602 ± 600 | nan | 1800 ± 527 | 2276 ± 884 | 3585 ± 1422 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: HorizontalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
HorizontalFlip 885 ± 424 nan 777 ± 249 253 ± 32 337 ± 104 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:---------------|:-----------|------:|:----------|:---------|:--------------| | ||
| HorizontalFlip | 885 ± 424 | nan | 777 ± 249 | 253 ± 32 | 337 ± 104 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: VerticalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
VerticalFlip 432 ± 24 nan 364 ± 35 419 ± 56 480 ± 195 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:-------------|:-----------|------:|:---------|:---------|:--------------| | ||
| VerticalFlip | 432 ± 24 | nan | 364 ± 35 | 419 ± 56 | 480 ± 195 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: HorizontalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
HorizontalFlip 52 ± 15 nan 179 ± 20 136 ± 40 35 ± 3 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:---------------|:-----------|------:|:---------|:---------|:--------------| | ||
| HorizontalFlip | 52 ± 15 | nan | 179 ± 20 | 136 ± 40 | 35 ± 3 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: VerticalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
VerticalFlip 161 ± 56 nan 227 ± 11 226 ± 20 44 ± 8 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:-------------|:-----------|------:|:---------|:---------|:--------------| | ||
| VerticalFlip | 161 ± 56 | nan | 227 ± 11 | 226 ± 20 | 44 ± 8 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Benchmark Results: HorizontalFlip | ||
|
||
Number of images: 1000 | ||
|
||
## CPU Information | ||
|
||
- CPU: Apple M1 Pro | ||
- Frequency: Current: 3228.00 MHz, Min: 600.00 MHz, Max: 3228.00 MHz | ||
- Physical cores: 10 | ||
- Total cores: 10 | ||
|
||
## Package Versions | ||
|
||
| Python | albucore | opencv-python-headless | numpy | torchvision | | ||
|:-----------------------------------------|:-----------|:-------------------------|:--------|:--------------| | ||
| 3.8.19 (default, Mar 20 2024, 15:27:52) | 0.0.14 | 4.9.0.80 | 1.24.4 | 0.19.1 | | ||
| [Clang 14.0.6 ] | | | | | | ||
|
||
## Performance (images/second) | ||
|
||
Raw data: | ||
albucore lut opencv numpy torchvision | ||
HorizontalFlip 25404 ± 3064 nan 13977 ± 1410 5912 ± 312 7336 ± 366 | ||
|
||
| | albucore | lut | opencv | numpy | torchvision | | ||
|:---------------|:-------------|------:|:-------------|:-----------|:--------------| | ||
| HorizontalFlip | 25404 ± 3064 | nan | 13977 ± 1410 | 5912 ± 312 | 7336 ± 366 | |
Oops, something went wrong.