Skip to content

An object detection library (currently mainly basic yolo)

Notifications You must be signed in to change notification settings

roeehendel/object-detection-yolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object-Detection (yolo)

This is mostly a very basic and incomplete implementation of yolo (single shot detection).

Current Features and Model

This version predicts bounding boxes and confidence for each one.

Currently there is only one anchor per prediction position, and classification is not yet implemented.

The model uses a pre-trained ResNet-50 from torchvision as a backbone (this can easily be changed).

Usage (Training)

Currently, the main functionality is in train.py which uses pytorch-lightning to train the detection model on the COCO dataset. You can use the supplied Dockerfile to create a suitable environment.

Data

The directory structure is expected to be the following:

path/to/coco/
  annotations/  # annotation json files
  train2017/    # train images
  val2017/      # val images

Logging

The training process is logged to tensorboard. The default directory (created after running) is tb_logs.

About

An object detection library (currently mainly basic yolo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published