• Stars
    star
    195
  • Rank 199,374 (Top 4 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

U-Net implementation in Tensorflow

U-Net Implementation in TensorFlow

Re implementation of U-Net in Tensorflow

  • to check how image segmentations can be used for detection problems

Original Paper

Summary

Vehicle Detection using U-Net

Objective: detect vehicles Find a function f such that y = f(X)

Input Shape Explanation Example
X: 3-D Tensor (640, 960, 3) RGB image in an array
y: 3-D Tensor (640, 960, 1) Binarized image. Bacground is 0
vehicle is masked as 255

Loss function: maximize IOU

    (intersection of prediction & grount truth)
    -------------------------------------------
    (union of prediction & ground truth)

Examples on Test Data: trained for 3 epochs

Get Started

Download dataset

  • the annotated driving dataset is provided by Udacity
  • In total, 9,423 frames with 65,000 labels at 1920x1200 resolution.
make download

Resize image and generate mask images

make generate

Train Test Split

Make sure masks and bounding boxes

jupyter notebook "Visualization & Train Test Split.ipynb"

Train

# Train for 1 epoch
python train.py

or

$ python train.py --help
usage: train.py [-h] [--epochs EPOCHS] [--batch-size BATCH_SIZE]
                [--logdir LOGDIR] [--reg REG] [--ckdir CKDIR]

optional arguments:
  -h, --help            show this help message and exit
  --epochs EPOCHS       Number of epochs (default: 1)
  --batch-size BATCH_SIZE
                        Batch size (default: 4)
  --logdir LOGDIR       Tensorboard log directory (default: logdir)
  --reg REG             L2 Regularizer Term (default: 0.1)
  --ckdir CKDIR         Checkpoint directory (default: models)

Test

  • Open the Jupyter notebook file to run against test data
jupyter notebook "./Test Run After Training.ipynb"

More Repositories

1

mnist-competition

mnist competition submission repo for Tensorflow KR group
Python
36
star
2

DQN-in-R

Simple Deep Q Network in R
R
14
star
3

A3C-Tensorflow

Simple Example A3C Reinforcement Learning Algorithm in Tensorflow
Python
13
star
4

keras-docset

Keras Docset for dash/Zeal
CSS
10
star
5

minikaggle-clone-django

Mini Kaggle Clone in Django
Python
6
star
6

kkweon.github.io

My personal blog based on Gatsby (React)
TypeScript
6
star
7

butler

Chrome extension for searching tabs and histories
TypeScript
5
star
8

reddit-crawl-haskell

Reddit Machine Learning Scrap and Email Service in Haskell
Haskell
4
star
9

AngularJS-redux-example

AngularJS + ngRedux + Todo Application Example
JavaScript
4
star
10

SSR-React-TSX

My reference code for an Isomorphic React Application with TypeScript
TypeScript
3
star
11

cybosplus-python

CybosPlus Python Wrapper
Python
3
star
12

emacs-css-autoprefixer

CSS autoprefixer for emacs
Emacs Lisp
2
star
13

react-redux-crud

React Redux CRUD Application.
JavaScript
2
star
14

Simple-App-in-Phoenix

Simple Phoenix CRUD App for self reference
Elixir
2
star
15

extended-kalman-filter

Extended Kalman Filter Project with Sensor Fusion (LIDAR & RADAR)
C++
2
star
16

NumberBaseball

Number Baseball using R6
R
2
star
17

apple-iphone-store-availability-check-script

Regularly checks the availability of iPhones. If the wanted iPhone is found, fail the workflow in order to send a notification.
Rust
2
star
18

sh2md

Record your shell session in the markdown format
Haskell
2
star
19

fplus-tutorial

Functional Plus Tutorial Examples.
2
star
20

coursera_ml

Jupyter Notebook
2
star
21

grpc-rest-via-gateway

gRPC to REST via gRPC Gateway
Go
1
star
22

grpc-as-public-api

Go
1
star
23

policy-gradient-tensorflow-in-R

Policy Gradient Example in R
R
1
star
24

lane-detection

Lane Detection Using OpenCV
Jupyter Notebook
1
star
25

cukoo

1
star
26

fb-fetch-posts-graph-api-example

Python
1
star
27

json-to-protobuf

TypeScript
1
star
28

phoenix-dockerfile

Phoenix 1.3.0 Dockerfile
1
star
29

nixos-config

My NixOS Configuration
Nix
1
star
30

my-spending-report

My spending analysis
Jupyter Notebook
1
star
31

dialogflow-calendar-webhook

Dialogflow + Go + Cloud Functions Example
Go
1
star
32

CS231n

CS231n Lectures & Assignments
Jupyter Notebook
1
star
33

isolation-game-agent

game agent playing isolation
Python
1
star
34

sdc-path-planning

Self Driving Car - Path Planning
C++
1
star