iasjkk commited on
Commit
5c583ec
·
verified ·
1 Parent(s): 1f99c24

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -12
utils.py CHANGED
@@ -1,12 +1,3 @@
1
- """
2
- Mask R-CNN
3
- Common utility functions and classes.
4
-
5
- Copyright (c) 2017 Matterport, Inc.
6
- Licensed under the MIT License (see LICENSE for details)
7
- Written by Waleed Abdulla
8
- """
9
-
10
  import sys
11
  import os
12
  import logging
@@ -23,8 +14,6 @@ import shutil
23
  import warnings
24
  from distutils.version import LooseVersion
25
 
26
- # URL from which to download the latest COCO trained weights
27
- COCO_MODEL_URL = "https://github.com/matterport/Mask_RCNN/releases/download/v2.0/mask_rcnn_coco.h5"
28
 
29
 
30
  ############################################################
@@ -905,4 +894,4 @@ def resize(image, output_shape, order=1, mode='constant', cval=0, clip=True,
905
  return skimage.transform.resize(
906
  image, output_shape,
907
  order=order, mode=mode, cval=cval, clip=clip,
908
- preserve_range=preserve_range)
 
 
 
 
 
 
 
 
 
 
1
  import sys
2
  import os
3
  import logging
 
14
  import warnings
15
  from distutils.version import LooseVersion
16
 
 
 
17
 
18
 
19
  ############################################################
 
894
  return skimage.transform.resize(
895
  image, output_shape,
896
  order=order, mode=mode, cval=cval, clip=clip,
897
+ preserve_range=preserve_range)