Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train on own dataset #1

Open
wangshuai09 opened this issue Jul 20, 2018 · 3 comments
Open

train on own dataset #1

wangshuai09 opened this issue Jul 20, 2018 · 3 comments

Comments

@wangshuai09
Copy link

I convert my dataset to the coco format,the dataset has no segmentation,so i set the "segmentation" =[] in annotations,and set the cfg.TRAIN.MRCNN_LABELS_TO_KEEP = ( ),i also convert the pretrained coco MXRCNN model to my dataset followed the convert_coco_model_cityscapes.py

finally, i got the error:
Exception encountered running PythonOp function: ValueError: min() arg is an empty sequence

Is the cfg.TRAIN.MRCNN_LABELS_TO_KEEP =( ) means that segmention would not be used?
how should i train bbox branch on my dataset which without segmentation from the coco pretrained MXRCNN model?

@jinxuan777
Copy link

@xiaozr @ronghanghu I met same problem, have you solved it?

@wangshuai09
Copy link
Author

i just set the "segmentation" = [[1,1,1,1,1,1]] ,and during the training ,the mask loss is 0.0

@lssily
Copy link

lssily commented Jan 23, 2019

@xiaozr May I ask you that how do you install seg_every_thing?
Looking forward to your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants