ywflow / BubMask

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Other
33 stars 15 forks source link

No module named 'mrcnn' #1

Open Jujou372 opened 2 years ago

Jujou372 commented 2 years ago

I have problem with mrcnn.. vscode can't reconise my file, he think's it's a module.

ywflow commented 2 years ago

What error did you get? Can you show more information?

Jujou372 commented 2 years ago

Hello, I have a problem with this part off the code bubble.py :

Parse command line arguments

parser = argparse.ArgumentParser(
    description='Train Mask R-CNN to detect bubbles.')
parser.add_argument("command",
                    metavar="<command>",
                    help="'train' or 'splash'")
parser.add_argument('--dataset', required=False,
                    metavar="/path/to/bubble/dataset/",
                    help='Directory of the Bubble dataset')
parser.add_argument('--weights', required=True,
                    metavar="/path/to/weights.h5",
                    help="Path to weights .h5 file or 'coco'")
parser.add_argument('--logs', required=False,
                    default=DEFAULT_LOGS_DIR,
                    metavar="/path/to/logs/",
                    help='Logs and checkpoints directory

(default=logs/)') parser.add_argument('--image', required=False, metavar="path or URL to image", help='Image to apply the color splash effect on') parser.add_argument('--video', required=False, metavar="path or URL to video", help='Video to apply the color splash effect on') args = parser.parse_args()

I have this error : bubble.py: error: the following arguments are required: , --weights and this exception : SystemExit at args = parser.parse_args()

Can you help me if it's possible ?

Thanks !

Le ven. 1 avr. 2022 à 09:32, ywflow @.***> a écrit :

What error did you get? Can you show more information?

— Reply to this email directly, view it on GitHub https://github.com/ywflow/BubMask/issues/1#issuecomment-1085534149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYP4A56ANFAOTNETWNDSC4LVC2RCJANCNFSM5SFPOLHA . You are receiving this because you authored the thread.Message ID: @.***>