Skip to content

virasad/Yolov5-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yolov5-Service

Yolov5-Service is a service that provides a RESTful API for Yolov5 models. run YOLOv5 with GPU. Easy As ABC

Inferencing

How to run

Install Requirements

Put weights

Put your pretrained weights in the folder (for example, weights)

Docker

Config docker compose file (docker-compose.yml)

docker compose up

How to use

send sample image with test_req.py code.

Training

Send Train Request

{
  "label": "label Path or Coco annotation json",
  "image_path": "images path",
  "weights_path": "path tp pretrained weights",
  "is_augment": "true or false for data augmentation",
  "augment_params" : "Augmentation Params", -required if is_augment is True
  "validation_split": "Validation Split Number to split train and validation",
  "data_type": "Coco or yolo data type",  
  "image_size": "image size to resize",
  "log_url": "log url to get training status",
  "label_path": "label path to get label (used for yolo data type)",
  "save_dir": "save directory to save trained model"
}

About

A simple package to train and inference with yolo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages