kaggle-notebooks
kaggle-notebooks copied to clipboard
Airbus ship detection challenge - missing external library
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.
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
- After some digging, I can safely say that the Mask RCNN implementation from matterport here is indeed the implementation used for this notebook.
- The repo creator should have mentioned that and its irresponsible of him not stating the sources of code.
- 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).
- 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 theutils.download_trained_weights(weights_path, verbose=1)
- 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
- There are some issues with
model.find_last()
on this notebook, that I am currently working on. - For info about Run Length Encoding and Decoding you can refer to this link
- 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 thisfrom skimage.io import imread
instead of thisfrom skimage.data import imread
- Anyway, thanks for sharing this notebook.
~codelover96