Skip to main content

A package for Ailiverse AI models

Project description

Table of Contents

  1. Installation
  2. Usage

This is the pypi package for Ailiverse AI models

Installation

git clone https://github.com/ailiverse/neucore

cd neucore

pip install .

Usage

The following are the models implemented

  • Image Segmentation
  • Image Classification
  • Deep Fake Detection
  • Text Guided Segmentation

Note Text Guided Segmentation does not have training or upload functions

import neucore

authToken = "Your_AuthToken_Here" # visit console.ailiverse.com to obtained your auth token if you have not already

# defined the model
model = neucore.Model(authToken, model="Image Segmentation")
# If you still want to use the same model Id uncomment the following code
# model = neucore.Model(authToken, modelID = "YOUR_MODELID_HERE", model="Image Segmentation")

model.uploadFile("train.zip", "labelme")

model.train(epochs=1) # By default the number of epochs is 10

results = model.infer("hen.jpg")

print(results)

Note you can use the modelID argument when initalizing the neucore model to if you want to use the previous models

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

neucore-1.0.7.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

neucore-1.0.7-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

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