Git Product home page Git Product logo

simurgailab / installation-guide-of-maskrcnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buseyaren/installation-guide-of-maskrcnn

1.0 0.0 0.0 22.46 MB

Mask R-CNN creates a high-quality segmentation mask in addition to the Faster R-CNN network. In addition to class labels and scores, a segmentation mask is created for the objects detected by this neural network. In this repository, using Anaconda prompt step by step Mask R-CNN setup is shown.

Python 0.11% Jupyter Notebook 99.89%
deep-learning deep-neural-networks object-detection python tensorflow conda fpn h5py maskedinput rcnn-model roi-segmentation rpn mask-rcnn

installation-guide-of-maskrcnn's Introduction

Step By Step Mask RCNN Installation

Attention❗️

  • Compatible Python Version: python==3.6.12

  • IDE: Anaconda Cloud & Conda Prompt

    -Anaconda Cloud: https://www.anaconda.com

🔺 Step 1: Compatible with Python 3.6 version, a virtual environment named maskrcnn is created in conda prompt.

conda create -n maskrcnn python=3.6.12

🔺 Step 2: The maskrcnn virtual environment is activated.

conda activate maskrcnn

🔺 Step 3: The Mask RCNN published by Matterport is cloned from the GitHub repository.

git clone https://github.com/matterport/Mask_RCNN.git

🔺 Step 4: Mask RCNN must be installed in the requirements.txt file located in the GitHub store. The requirements.txt file will load the libraries needed for your project in batch.

pip install -r requirements.txt

Dependencies

numpy, scipy, cython, h5py, Pillow, scikit-image, tensorflow==1.14.0 keras==2.0.8, jupyter or (tensorflow==1.15.0 keras==2.2.5)

For GPU: tensorflow-gpu:1.15.0, keras:2.2.5 For CPU: tensorflow:1.14.0, keras:2.0.8, h5py:2.10.0

🔺 Step 5: Download the pre-trained weights from https://github.com/matterport/Mask_RCNN/releases.

Download the file mask_rcnn_balloon.h5 from Mask_RCNN_2.1 file and mask_rcnn_coco.h5 model from Mask_RCNN_2.0 file. These 2 models should be placed in the samples folder.

Attention❗️

If the TensorFlow and Keras versions have landed in high versions, you can make a specific installation with the following commands.

🔺 Step 6: Running the setup.py file.

python setup.py install

🔺 Step 7: Loading the pycocotols module.

pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

🔺 Step 8: Let's run it on the Jupyter notebook.

jupyter notebook

A view from the project: Mask RCNN Sample

installation-guide-of-maskrcnn's People

Contributors

dilaraozdemir avatar buseyaren avatar

Stargazers

Halim Can Ocaklı avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.