Skip to content

pypi package for Ailiverse AI models client side

License

Notifications You must be signed in to change notification settings

ailiverse/neucore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

pypi package for Ailiverse AI models client side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages