Skip to content

When you're driving, how important is it to be able to quickly tell the difference between a person vs. a stop sign? It's a hugely important, but typically very simple, distinction that you would make reflexively. Autonomous vehicles are not able to do this quite as effortlessly. This challenge, hosted by the 2018 CVPR workshop on autonomous dri…

Notifications You must be signed in to change notification settings

kagglewadteam/cvpr_wad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MASK_rcnn_train_custom_data

Installation

  1. clone this repo:
git clone [email protected]:kagglewadteam/cvpr_wad.git --recursive
  1. see https://github.com/matterport/Mask_RCNN#installation

Directory Structure

.
├─assets
├─dist
├─images
├─mask_rcnn.egg-info
├─mrcnn
├─mask_rcnn_coco.h5 ❤️
└─samples
  └── .ipynb_checkpoints
  └── balloon
  └── coco
  └── kaggle_wad
  └── nucleus
  └── shapes

the files with heart are newly added. Not neccessary to download the mask_rcnn_coco.h5
it can be downloaded automatically.

Training

cd into the kaggle_wad directory

cd Mask_RCNN/samples/kaggle_wad
python3 train.py

one thing should be noticed that your own directories of images and masks should be defined in the train.py

Tuning hyper-parameters

└─mrcnn
  └── config.py ❤️
  └── model.py
  └── parallel_model.py
  └── utils.py
  └── visualize.py
  └── init.py

most parameters in the config.py, few in the kaggle_wad/train.py

Detection

cd into the kaggle_wad directory

cd Mask_RCNN/samples/kaggle_wad
python3 detect.py

Evaluate Submission

Validate the format of submission csv file.

  1. cd into the submission directory:
cd submission
  1. Change the directory of test images and submission file accordingly
  2. Validate the submission file
python3 submission_checker.py

About

When you're driving, how important is it to be able to quickly tell the difference between a person vs. a stop sign? It's a hugely important, but typically very simple, distinction that you would make reflexively. Autonomous vehicles are not able to do this quite as effortlessly. This challenge, hosted by the 2018 CVPR workshop on autonomous dri…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages