Tool for validating your computer vision data and model results.
Project description
CV validator
Library to validate computer vision data and models.
Installation
pip install cv-validator
Usage
Example on colab: Link
from cv_validator.checks import *
from cv_validator.core.data import DataSource
from cv_validator.core.suite import BaseSuite
# Create class with data information
train = DataSource(train_image_paths, train_labels, train_predictions, transform=None)
test = DataSource(test_image_paths, test_labels, test_predictions, transform=transform)
# Create suite with different checks
suite = BaseSuite(
checks=[
ImageSize(),
ColorShift(),
BrightnessCheck(need_transformed_img=True),
ClassifierLabelDistribution(),
MetricCheck(),
MetricDiff(),
MetricBySize(),
MetricByRatio(),
HashDuplicates(mode="exact", datasource_type="train"),
]
)
# Run checks
suite.run(task="multiclass", train=train, test=test, num_workers=4)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cv-validator-0.1.4.tar.gz
(17.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cv-validator-0.1.4.tar.gz.
File metadata
- Download URL: cv-validator-0.1.4.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.12 Darwin/21.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
635b5ce17bdd0731ba8518d4b621af21764782c9b9a75a09c4729ff8dc7c09d7
|
|
| MD5 |
2a8720cef39cadaacb8cc337ad116cef
|
|
| BLAKE2b-256 |
7fb25a87e950dffe5ccfe4a2f0711b0dd6b3e223b1921caf3aac6ea6e65d2270
|
File details
Details for the file cv_validator-0.1.4-py3-none-any.whl.
File metadata
- Download URL: cv_validator-0.1.4-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.12 Darwin/21.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bf2f79d9f16c8fc5eb05d82ebf9df8360ad11f5e62e36092e0a262b6c759c4
|
|
| MD5 |
159edfd82400854dd1b5c300d269a07a
|
|
| BLAKE2b-256 |
f86535c0328fe00244b595cbd9dfc0c7d5ab988287c0c4f87592ba32974d3a02
|