hanskrupakar / COCO-Style-Dataset-Generator-GUI

A simple GUI-based COCO-style JSON Polygon masks' annotation tool to facilitate quick and efficient crowd-sourced generation of annotation masks and bounding boxes. Optionally, one could choose to use a pretrained Mask RCNN model to come up with initial segmentations.
Apache License 2.0
144 stars 31 forks source link

BagsConfig() #9

Closed BogdanS94 closed 5 years ago

BogdanS94 commented 5 years ago

Could you help me with an little issue? I'm trying to run this code but I really don't understand where is demo.py file. I received error at from demo import BagsConfig image

hanskrupakar commented 5 years ago

Is the maskrcnn_dir argument set correctly to point to your local Mask RCNN directory? BagsConfig is imported just above line 103.

BogdanS94 commented 5 years ago

Hello, Yeah I think that patch to Mask RCNN directory it's ok. But i can't find any demo files.. I sow in segment.py that BagsConfig it's imported from demo module. Probably this file is missing from Mask RCNN folder.

Do you know where this file should be? Thanks

hanskrupakar commented 5 years ago

https://github.com/hanskrupakar/Mask_RCNN/blob/master/demo.py