Skip to main content

A CLI to download, create, modify, train, test, predict and compare an image classifiers.

Project description

https://github.com/aemonge/alicia/raw/main/docs/DallE-Alicia-logo.jpg https://img.shields.io/badge/badges-awesome-green.svg https://img.shields.io/badge/Made%20with-Python-1f425f.svg https://img.shields.io/pypi/v/ansicolortags.svg https://img.shields.io/pypi/dm/ansicolortags.svg https://img.shields.io/pypi/l/ansicolortags.svg https://img.shields.io/badge/say-thanks-ff69b4.svg

AlicIA

Usage: alicia [OPTIONS] COMMAND [ARGS]...

  A CLI to download, create, modify, train, test, predict and compare an image classifiers.

  Supporting mostly all torch-vision neural networks and datasets.

  This will also identify cute 🐱 or a fierce 🐶, also flowers or what type of
  🏘️ you should be.

Options:
  -v, --verbose
  -g, --gpu
  --version      Show the version and exit.
  --help         Show this message and exit.

Commands:
  compare   Compare the info, accuracy, and step speed two (or more by...
  create    Creates a new model for a given architecture.
  download  Download a MNIST dataset with PyTorch and split it into...
  info      Display information about a model architecture.
  modify    Changes the hyper parameters of a model.
  predict   Predict images using a pre trained model, for a given folder...
  test      Test a pre trained model.
  train     Train a given architecture with a data directory containing a...

View a FashionMNIST demo

https://asciinema.org/a/561138.png

Install and usage

pip install alicia
alicia --help

If you just want to see a quick showcase of the tool, download and run showcase.sh https://github.com/aemonge/alicia/raw/main/docs/showcase.sh

Features

To see the full list of features, and option please refer to alicia –help

  • Download common torchvision datasets (tested with the following):
    • MNIST

    • FashionMNIST

    • Flowers102

    • EMNIST

    • StanfordCars

    • KMNIST and CIFAR10

  • Select different transforms to train.

  • Train, test and predict using different custom-made and torch-vision models:
    • SqueezeNet

    • AlexNet

    • MNASNet

  • Get information about each model.

  • Compare models training speed, accuracy, and meta information.

  • View test prediction results in the console, or with matplotlib.

  • Adds the network training history log, to the model. To enhance the info and compare.

  • Supports pre-trained models, with weights settings.

  • Automatically set the input size based on the image resolution.

References

Useful links found and used while developing this

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

alicia-0.2.1.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

alicia-0.2.1-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

Details for the file alicia-0.2.1.tar.gz.

File metadata

  • Download URL: alicia-0.2.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Linux/5.13.0-valve36-1-neptune

File hashes

Hashes for alicia-0.2.1.tar.gz
Algorithm Hash digest
SHA256 37acc6720ee7c3a4cc7c0c11a3e6d80682f81b9e669924e765914f514d743f7f
MD5 b6f5bf1a82b5ba10ee4cc7bdad64c76c
BLAKE2b-256 4f6c41d729f3cfffbfcbf7365355375b48e45ca073dd8bfaac15281a011b9701

See more details on using hashes here.

File details

Details for the file alicia-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: alicia-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Linux/5.13.0-valve36-1-neptune

File hashes

Hashes for alicia-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 004e6519ae50254d387d17c8eddfd124b14ee2e044145ad96dbcb7bc6bda0fea
MD5 1aa4b8482ed56cb89e8148e2d7f0ae81
BLAKE2b-256 7799cac2d9ee88ecc69eb0a0c8e7f60e58afb51f9e9920ec0a9ff37c77b7af0a

See more details on using hashes here.

Supported by

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