Dataset SDK (Node)
This guide walks through the programmatic steps to build and train a model using the EyePop.ai Node SDK. Youโll learn how to create a dataset, upload and label assets, configure augmentations, and launch trainingโall using API calls.
๐ง Getting Started
EyePop.ai offers a Node SDK to make it easy to work with datasets, assets, annotations, and model training.
Install the SDK:
Initialize the SDK:
๐ฆ Dataset Creation
A dataset acts as the core container for your modelโs training data. It defines the type of model youโre training (object or classification) and includes the labels youโll be teaching it to recognize.
Example:
๐ผ๏ธ Asset Upload
You can upload image files to your dataset. These are the raw assets that will be labeled and used during model training.
Example:
๐ท๏ธ Asset Labeling
There are two primary ways to label data:
1. Classification
Assign a single label to the entire image.
Example:
2. Object Detection
Label specific regions within the image using bounding boxes.
Example:
โ ๏ธ Auto-labeling is currently managed internally and is not exposed via API at this time.
๐๏ธ Augmentation Configuration (Optional)
Before training, you can configure augmentation parameters like confidence threshold and candidate labels. This helps the model generalize better to new data.
Example:
๐ Start Model Training
Once your dataset is ready and labeled, kick off model training. EyePop.ai will automatically choose the appropriate model type (object detection or classification) based on the dataset tags.
Example:
Last updated