Skip to main content

aisee is a Python package for image classification using PyTorch and timm created by Instituto de Ingeniería del Conocimiento

Project description

AISee Logo


License: MIT GitHub Stars Latest Version on Pypi Supported Python versions Code style: black Unit tests codecov Docs

An open-source library for computer vision built on top of PyTorch and Timm libraries. It provides an easy-to-use interface for training and predicting with State-of-the-Art neural networks.

AISee key features

  • 🤗 Simple interface for training and predicting using timm library models.
  • 📁 Easily load images from a folder, a pandas DataFrame or a single image path.
  • 🏋🏽‍♂️ Train SOTA neural networks from pre-trained weights or from scratch in very few lines of code.
  • 🖼️ Supports multiclass and multilabel image classification tasks.
  • 🔨 We take care of DataLoaders, image transformations and training and inference loops.

Installation

Install AISee using pip.

pip install aisee

Quick tour

Here's an example of how to quickly train a model using AISee. We just have to initialize a VisionClassifier model and create a Trainer. As easy as it gets!

from aisee import Trainer, VisionClassifier

# Initialize a VisionClassifier model
model = VisionClassifier(
    model_name="vgg11_bn", 
    num_classes=4,
)

# Create a Trainer 
trainer = Trainer(
    base_model=model, 
    data=f"animals/",
    output_dir="trained_weights.pt",
)

# Train
trainer.train()

To predict call predict method, we take care of the rest:

# Predict 
trainer.base_model.predict("animals/without_label")

Try it on Google Colab

Open In Colab

Getting started

  • Visit AISee Getting started to get an overview of how AISee works.

  • Explore AISee Documentation page for a detailed guide and comprehensive API reference.

  • Check out AISee Examples for Jupyter Notebook examples and tutorials, showcasing how to use AISee effectively in various scenarios.

Contributing

We value community contributions, and we encourage you to get involved in the continuous development of AISee. Please refer to AISee Development page for guidelines on how to contribute effectively.

We also appreciate your feedback which helps us develop a robust and efficient solution for computer vision tasks. Together, let's make AISee the go-to library for AI practitioners and enthusiasts alike.

Contact Us

For any questions or inquiries regarding the AISee library or potential collaborations, please feel free to contact us in marketing@iic.uam.es.

Instituto de Ingeniería del Conocimiento (IIC)

IIC is a non-profit R&D centre founded in 1989 that has been working on Big Data analysis and Artificial Intelligence for more than 30 years. Its value proposition is the development of algorithms and analytical solutions based on applied research tailored to different businesses in different sectors such as energy, health, insurance and talent analytics.


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

aisee-0.1.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aisee-0.1.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file aisee-0.1.1.tar.gz.

File metadata

  • Download URL: aisee-0.1.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1024-azure

File hashes

Hashes for aisee-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78137550d5615580ea534a95ba6472115de8e98483282b4a92b0a54e069c5f3a
MD5 f5a8e363ef34bdf5425f2a8b5a93b580
BLAKE2b-256 daeabe0000b8f00a8372e7261aa1119180ae9c0f03f77c7bd5c2951d0e6aa996

See more details on using hashes here.

File details

Details for the file aisee-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aisee-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1024-azure

File hashes

Hashes for aisee-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 386f4a58b2178d985027ce1fc38ad427bccaceb64f551620f839c2564587b441
MD5 9e25f9f2f4c92892fd01214fa55860a3
BLAKE2b-256 a71cb21a2a804f9af2dc2f4e5be52f1741f5ab05e3421d54a26a0ca41ea8710a

See more details on using hashes here.

Supported by

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