Git Product home page Git Product logo

yolov1-tensorflow2.0's Introduction

YOLOv1-TensorFlow2.0

This is a TensorFlow2.0 implementation of the YOLOv1 paper https://arxiv.org/abs/1506.02640, with the following changes,

  • The feature exactor resembles the one mentioned in the YOLO9000 paper
  • Input size is changed from 448x448 to 608x608
  • The output stride is reduced from 64 to 32, to capture smaller objects
  • Used 9 boxes per grid location, the paper uses 2. [doing this did not help much]

Video results

IMAGE ALT TEXT HERE IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE IMAGE ALT TEXT HERE

Weights

trained weights

TODO

  • Change backbone to the one from YOLO9000
  • Use tf.distribute.MirroredStrategy for multi gpu training
  • Use tf.data.Dataset to implement the data input pipeline
  • Add quantitative results
  • Use learning_rate schedule during training
  • Add horizonal flip in data input pipeline

Outputs

Training

  • The model was trained on the Berkeley Deep Drive (BDD) dataset, which has 70,000 training images and 10000 validation images
  • The model was trained for 200 epochs with a learning_rate of 5e-4 and a batch size of 24 [8 images per gpu] with heavy augmentations [brightness, saturation, contrast]
  • No learning_rate schedule was followed (but was used by the authors).

yolov1-tensorflow2.0's People

Contributors

srihari-humbarwadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yolov1-tensorflow2.0's Issues

def load_data(image_path, labels) is wrong?

In line 200
def load_data(image_path, labels):
flip = tf.cast(tf.random.uniform(shape[1,],minval=0,maxval=2,dtype=tf.int32),dtype=tf.bool).numpy()[0]
return get_image(image_path), flip_labels(labels)#don't define flip_labels()?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.