Created
January 29, 2020 15:44
-
-
Save emadehsan/c3f719d26c34c96918cdcfcfe375354f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Create model object in inference mode. | |
model = modellib.MaskRCNN(mode="inference", model_dir=MODEL_DIR, config=config) | |
# Load weights trained on MS-COCO | |
model.load_weights(COCO_MODEL_PATH, by_name=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment