Skip to main content

The expansion of Giskard into testing computer vision models

Project description

giskardlogo

The testing framework dedicated to ML models.

Detect risks of biases, performance issues and errors in your computer vision models.

GitHub release License Full CI

Giskard on Discord

DocumentationBlogWebsiteDiscord CommunityAdvisors


Giskard Vision is a comprehensive Python package designed to simplify and streamline a variety of computer vision tasks. Whether you're working on facial landmark detection, image classification, or object detection, Giskard Vision provides the tools you need to evaluate your models with ease.

Getting Started

To get the most out of Giskard Vision, we recommend starting with these essential guides in our documentation:

Supported Computer Vision Tasks

  • Facial Landmark Detection (Readme)
  • Image Classification (Readme)
  • Object Detection (Readme)

Installation

To install Giskard Vision, simply use pip:

pip install giskard-vision

If you want to contribute to the development or explore the latest features, you can install the repository in development mode:

git clone https://github.com/Giskard-AI/giskard-vision.git
cd giskard-vision
pdm install -G :all
source .venv/bin/activate

Scan

Giskard Vision includes powerful scanning capabilities to evaluate your models. To run a scan, first ensure that you have the giskard library installed:

pip install giskard

Then, you can perform a scan using the following code:

from giskard_vision import scan

dataloader = ...
model = ...

results = scan(model, dataloader)

Explore the examples provided to see how to implement scans in different contexts:

Examples

The examples directory contains Jupyter notebook tutorials that demonstrate how to use Giskard Vision for various tasks. To explore these tutorials:

  1. Install the repository in development mode.
  2. Navigate to the examples directory and open the notebook of interest.

FAQ

→ I am getting attributeerror: module 'cv2.face' has no attribute 'createlbphfacerecognizer' when running some examples in dev mode

This issue usually occurs due to the installation order of the opencv-contrib-python module. To resolve it, follow these steps:

pip uninstall opencv-contrib-python
pip install opencv-contrib-python

→ For Linux users with CUDA support

It is recommended that you install the following CUDA-compatible versions of Torch by running the command below:

pdm run pip install -U torch==2.1.0+cu121 torchvision==0.16.0+cu121 --index-url https://download.pytorch.org/whl/cu121

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

giskard_vision-1.0.0.tar.gz (17.2 MB view details)

Uploaded Source

Built Distribution

giskard_vision-1.0.0-py3-none-any.whl (17.2 MB view details)

Uploaded Python 3

File details

Details for the file giskard_vision-1.0.0.tar.gz.

File metadata

  • Download URL: giskard_vision-1.0.0.tar.gz
  • Upload date:
  • Size: 17.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for giskard_vision-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a5a37dc85225ebd805f6b3c0028db60fcab1668bc85c0025f2b44d375d87911
MD5 d9837467d08042ed3595cb83f0e65b63
BLAKE2b-256 b9bbfdc516cac2225e96a62ee277cf9fef560e49636607bfe9d6e11f77dcca0f

See more details on using hashes here.

File details

Details for the file giskard_vision-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: giskard_vision-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for giskard_vision-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e106fe5e875e1cd1fe7d54aba44a8d2c18766e82e689db15a9c7dcac9c7873d
MD5 5306dc72206567051da0cae8b3d27db0
BLAKE2b-256 4b537b39a0447fd2bcf42cd68f67a92ea19c9a8c77bc8069d7ef25b8cc51b233

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page