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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file neucore-1.0.7.tar.gz.

File metadata

  • Download URL: neucore-1.0.7.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for neucore-1.0.7.tar.gz
Algorithm Hash digest
SHA256 18e5c0a5d63aec3ba9de20e3d8e22d145e6b8c2cf69c469efa2c957811babcd0
MD5 5e3822f73e5f1e937f7ac7e2506e63d6
BLAKE2b-256 43443b85d337e39dfa2cc1fff64cb03dfeb7344d41546cd88ff278cfad052dea

See more details on using hashes here.

File details

Details for the file neucore-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: neucore-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for neucore-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c2e4945e86590f848d703c32bdc6fcd9abdd57a3f3b0795c7a147808defe65b5
MD5 8f14646518bbe5b24306ffc8f80c66bb
BLAKE2b-256 4708bfb76088ea43684642fdde4ba5d7cfa0b0f2afee5cc2145ce7d9c638dc1c

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