Skip to content

axinc-ai/ailia-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ailia TRAINER

ax Inc. machine learning training platform.

It currently supports the training of object detection models YOLOX and YOLOv4.

Trainings can be done on custom datasets as well as already available datasets from Open Images Dataset.

ailia TRAINER also offers a feature of auto-annotation using Detic for automatically generating annotations.

All the features are described in great details in the blog posts mentionned in the following section.

Getting started

We published a blog post below as an introduction to the concept of model training for users who are not familiar with the fundamental concepts.

ailia TRAINER — Introduction

The second blog post below is a manual on how to setup and how to use the training platform.

ailia TRAINER — Getting Started

Prerequisites

ailia TRAINER is compatible with Linux and Windows platforms.

⚠️ For Windows WSL2 users make sure to check the Environment variables section.

The following prerequisites are required to run ailia Trainer:

  • Docker, also tested with Docker Desktop on Windows platform
  • NVIDIA GPU drivers for training on GPU. Training will be performed on CPU otherwise, if supported depending on the model type.

git LFS

⚠️ This repository is using Git LFS, you need to checkout large files as well using git lfs pull

Build and run the containers

  • Pull the container images
./docker-pull.sh
  • Start the containers
docker compose create
docker compose start

Then open your browser and go to:

  • http://localhost:19998 to access the ailia Trainer YOLOv4
  • http://localhost:19999 to access the ailia Trainer YOLOX

By using the command below you can watch all the logs coming from the containers

Environment variables

Several environment variables can be commented/uncommented from the docker-compose.yaml file to enforce some specific configuration changes.

  • FORCE_CPU: force the use of cuda/cpu device
  • USE_WSL2: If you are using docker on Windows wsl2, be sure the environment variable USE_WSL2 is set to 1 as a workaround to avoid network error while downloading dataset from internet.

Model weights

The weights are included in the repository and stored using Git LFS, but for reference the sources can be found below.

YOLOv4

YOLOX

Detic