Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MaskRCNN Doesnt work in Arcgis 2.6.2 #35

Open
bouziady opened this issue Oct 5, 2020 · 3 comments
Open

MaskRCNN Doesnt work in Arcgis 2.6.2 #35

bouziady opened this issue Oct 5, 2020 · 3 comments

Comments

@bouziady
Copy link

bouziady commented Oct 5, 2020

I tried this maskrcnn model for building segmentation before and it was working, but now it is not.
I installed all the deep learning frameworks following this guide : https://github.com/Esri/deep-learning-frameworks/blob/master/README.md?rmedium=links_esri_com_b_d&rsource=https%3A%2F%2Flinks.esri.com%2Fdeep-learning-framework-install

I receive this error :
2020-10-05 (2)
can you help me with this, please?

@lingtangraster
Copy link
Collaborator

In ArcGIS Pro 2.6, if you use the new deep learning frameworks installer provided by Esri here, Tensorflow 2.1.0, Keras 2.3.1, and scikit-image 0.17.2 will be installed. These versions are needed in other DL functionalities/workflows in Pro 2.6, but they are incompatible with the current Pro built-in Keras MaskRCNN support, mainly because Matterport implementation of MaskRCNN their repo has not been upgraded to support Tensorflow 2.
Therefore, my suggestion is either install the compatible libraries (TensorFlow 1.14.0, Keras 2.2.4, and scikit-image 0.15.0) for your current model, or you could train a MaskRCNN model inside Pro 2.5/2.6 using our Train Deep Learning Model Geoprocessing tool (using Pytorch/fastai backend). The whole instance segmentation workflow can be done inside Pro, from exporting image chips with Meta Data Format “RCNN Masks”, to inference using Detect Objects Using Deep Learning tool.

@lingtangraster
Copy link
Collaborator

@BOUKARY Please refer to the above comment, thanks

@bouziady
Copy link
Author

bouziady commented Oct 6, 2020

Thanks a lot @lingtangraster

Actually, that was my next step after I posted this question yesterday, I have created a conda env with compatible libraries following this guide https://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/pdf/deep_learning_install.pdf, but i still get the same error.

Is this the MaskRCNN implementation used to build that model? https://github.com/matterport/Mask_RCNN
Can I use your model directly with inference code from the matterport repo ?

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants