Skip to content

Training on custom dataset with (multi/unique class) of a Mask RCNN

Notifications You must be signed in to change notification settings

Roy-Tuhin/Custom_Train_MaskRCNN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom_Train_MaskRCNN

ko-fi

Training on custom dataset with (multi/unique class) of a Mask RCNN

Requirements (no specific version requirements)

  python3
  pycocotools
  matplotlib
  mrcnn
  tqdm
  numpy
  pylab
  skimage

Note: installation for mrcnn will be explained in the medium article linked in the repo.

Structure

  • dataset: folder where you put the train and val folders (read inside to know what to put)
  • logs: folder where we store the intermediate/checkpoints and final weights after training
  • weights: weights for the model, we fetch the weights from here for the test script
  • detect_segment_test.py: test script for the segmentation, displays mask on top of input image, usage given by --h argument
  • train.py: main script for this section, read medium article to know what to modify

Usage

First training usage, more options showed in the train.py script as comment:

   python3 train.py train --dataset=./dataset --weights=coco

About

Training on custom dataset with (multi/unique class) of a Mask RCNN

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%