This repository was archived by the owner on Dec 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Mrcnn #733
Draft
LucienZhang
wants to merge
57
commits into
blue-oil:master
Choose a base branch
from
LucienZhang:mrcnn
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Mrcnn #733
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
1 similar comment
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
zip file of basic unit for showing the demo:
lmsvr01:/storage/lucien/coco.zip
essential files used for training on coco dataset:
lmsvr01:/home/zhang/blueoil/lmnet/lmnet/networks/instance_segmentation/annotations/*.json
files in path blueoil/lmnet/lmnet/networks/instance_segmentation/
balloon.py: file to train mask rcnn on ballon dataset.
camera.py: file to run the demo with webcam
coco.py: file to train mask rcnn on coco dataset.
config.py: essential file used for training mask rcnn
keras_linear.py: useless, can be deleted
model.py: useless, can be deleted.
model_quantized.py: quantized model of mask rcnn
mrcnn.py: useless, can be deleted.
parallel_model.py: used if you train the model on multiple GPUs
requirements.txt: the requirements used for this model
resnet18_quantized.py the quantized backbone resnet 18 for the model. run it to train resnet 18 on imagenet or import it as the backbone.
smaller_resnet18_quantized.py: the is a smaller version of resnet 18, not used yet.
utils.py: used in mask r cnn
visualize.py: used for showing the demo.
commands
to train the backbone:
PYTHONPATH=/home/zhang/blueoil/lmnet/ python resnet18_quantized.py
to train mask r cnn on balloon dataset:
PYTHONPATH=/home/zhang/blueoil/lmnet/ python balloon.py train --dataset=/storage2/dataset/balloon --weights=resnet18
to train mask r cnn on coco dataset:
PYTHONPATH=/home/zhang/blueoil/lmnet/ python coco.py train --dataset=/storage/dataset/MSCOCO --model=/home/zhang/blueoil/lmnet/lmnet/networks/instance_segmentation/backbone/q15.hdf5