Page cover

Hosting Machine Learning Models

This guide will help you host your machine learning model

Drawing

1. Converting your model to ONNX

If your model is not in ONNX format, you can follow the conversion tutorial video below. Additional resources are available on YouTube and in online articles.

You can also use the following snippet from : microsoft learn

2. Hosting your model

Go to the Hosting Panel and Click on New Model
Click on New Model

Provide all the details as expected, that is the classes (in their order as used in training the model), the image dimensions (still as used in training).

Classes in order

Select the valid dimensions (as used in training)

3. Managing & Accessing the model

Upon saving the model , its visible at the Hosting tab

Andromeda Labs provides all the necessary compute to host and run your models, its your responsibility to develop to use the provided resources responsibly, misuse of our API will lead to a ban of your account

Click Create Asset, and choose what kind of asset you wish to create

Try out the playground Or Manage the model

Below is how you could use the playground

Click the folder icon Choose an image and then get results

Model results, will be view from the side results pane, you can update the models after fine tuning, and upload new files;, by clicking the Edit option

Enable those sources that you will need to use

Once you are satisfied with the playground, you can now integrate the model into your workflow, as shown below;

Accessing the model via the API

A model /Asset ID and the API endpoint URL is required before you can access the hosted model in your code.

API URL

Where the model (Or Asset) ID is located

When you have the MODEL (or asset) ID and the API URL, you can access the Model via the following implementations;

These implementations encompass what our API's expected, therefore, endeavor to customize your implementation;

Last updated