vajpayee

Results 7 comments of vajpayee

TQ @DerOzean COCO_MODEL_PATH = os.path.join(ROOT_DIR, "mask_rcnn_balloon.h5") print(COCO_MODEL_PATH) # Download COCO trained weights from Releases if needed if not os.path.exists(COCO_MODEL_PATH): utils.download_trained_weights(COCO_MODEL_PATH)-> this is the responsible for downloading mask_rcnn_ballon.h5 or mask_rcnn_coco.h5

hi @omkarhp please add color_mode="rgb" in load_image() in inference.py file located in utils folder def load_image(image_path, grayscale=False, color_mode='rgb', target_size=None): pil_image = image.load_img(image_path, grayscale, color_mode, target_size, ) return image.img_to_array(pil_image)

Hi @soufianesabiri may I know in what context you are trying to apply this?

if we are trying to apply this for car damage detection or in any context follow these steps please: 1.Use the mask_rcnn_coo.h5 https://github.com/matterport/Mask_RCNN/releases 2.train the model with mask_rcnn_coo.h5 3.after training...

import os import sys import itertools import math import logging import json import re import random from collections import OrderedDict import numpy as np import matplotlib import matplotlib.pyplot as plt...

even you can refer this link https://github.com/matterport/Mask_RCNN/blob/master/samples/demo.ipynb