kaggle-notebooks icon indicating copy to clipboard operation
kaggle-notebooks copied to clipboard

Airbus ship detection challenge - missing external library

Open SebastianoF opened this issue 4 years ago • 2 comments

Hi! On the notebook about the ship detection, you are referring to https://github.com/abhinavsagar/Mask_RCNN/archive/master.zip. Unfortunately this repo is nowhere to be found and therefore the notebook can not run.

wget https://github.com/abhinavsagar/Mask_RCNN/archive/master.zip -O Mask_RCNN-master.zip
--2020-06-10 18:55:40--  https://github.com/abhinavsagar/Mask_RCNN/archive/master.zip
Resolving github.com (github.com)... 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-06-10 18:55:40 ERROR 404: Not Found.

SebastianoF avatar Jun 10 '20 17:06 SebastianoF

Yeap, this is the case. Have looked your code @abhinavsagar and yes this dependency is missing. For now, I will try to see if this repo on Mask R-CNN can be integrated with your existing code.

Cheers ~codelover96

codelover96 avatar Apr 07 '21 08:04 codelover96

  1. After some digging, I can safely say that the Mask RCNN implementation from matterport here is indeed the implementation used for this notebook.
  2. The repo creator should have mentioned that and its irresponsible of him not stating the sources of code.
  3. The notebook provided for the airbus ship detection challenge does not work out of the box. So everyone who wants to use this notebook should use the mask rcnn implementation from matterport (link above).
  4. Another problem I faced while using this notebook, is that at every run the notebook tried to download mask_rcnn_coco.h5 weights. To solve this I just commented the utils.download_trained_weights(weights_path, verbose=1)
  5. There is some conflict with the dependencies, so bellow there are the versions of each depencencies I used:
  • tensorflow 1.13.1
  • keras 2.1.5
  • h5py 2.10.0
  • python 3.7.10
  1. There are some issues with model.find_last() on this notebook, that I am currently working on.
  2. For info about Run Length Encoding and Decoding you can refer to this link
  3. if you get cannot import name 'imread' from 'skimage.data' (/usr/local/lib/python3.7/dist-packages/skimage/data/__init__.py) then you should import this from skimage.io import imread instead of this from skimage.data import imread
  4. Anyway, thanks for sharing this notebook.

~codelover96

codelover96 avatar Apr 10 '21 09:04 codelover96