Skip to content

InnoIPA/ivit-t

Repository files navigation

iVIT-T

A library to training model of TensorFlow-Keras and Darknet. This library enables the training of the model of classification, object detection.

See What's New

Getting Started

Hardware Recommendations

NOTE : In case of the use of another hardware, the correct functionality can not be guaranteed.

Item Information
CPU Intel® 12th Gen Core™i7/i5 processors.
GPU NVIDIA RTX A2000, A4500
RAM 32GB
Storage 1T
OS Ubuntu 20.04.4

Software Requirements

Install nvidia-driver(510+), nvidia-docker and docker before installing the docker container.

Run container

Build convert docker images and database container

sudo chmod 777 ./docker
sudo ./docker/init_env.sh -p 0,1,2,3

In the "init_env.sh", this "-p" is the model finally deployed platform:

0: Nvidia, 1: Intel, 2: Xilinx, 3: Hailo

Web API mode

sudo ./docker/run.sh -p 6530

In the "run.sh", this "-p" is the port number, you can setting haven't used the port number.

Web UI

If you want to use the UI version, you can follow this Tutorial:

The format of dataset

  • Image format: .jpg/.jpeg/.png/.bmp/.JPG/.JPEG/.PNG/.BMP

Classification

  • Folder(class)/img1, img2, ..., imgN
├── class_1
│   ├── 1.jpg
│   ├── 2.jpg
│   ├── 3.jpg
...
│   ├── 29.jpg
│   └── 30.jpg
└── class_2
    ├── 1.jpg
    ├── 2.jpg
    ├── 3.jpg
    ...
    ├── 29.jpg
    └── 30.jpg

Object detection

  • Folder/img1, txt1, img2, txt2, ..., imgN, txtN
Folder
├── 0.jpg
├── 0.txt
├── 10000.jpg
├── 10000.txt
├── 10001.jpg
├── 1000.jpg
├── 1000.txt
├── 10069.jpg
├── 10069.txt
├── 1006.jpg
├── 1006.txt
├── 10078.jpg
...
├── 840.jpg
└── 840.txt
  • Annotation format: .txt (YOLO)
    Format:
        index x y w h
    Example:
        0 0.4014 0.3797 0.0801 0.0859
  • Mapping class filename: classes.txt
    label1
    label2
    ...

Reference