A package for Ailiverse AI models
Project description
Table of Contents
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.3.tar.gz
(6.5 kB
view hashes)