Update visualize.py
Browse files- visualize.py +3 -12
visualize.py
CHANGED
|
@@ -1,12 +1,3 @@
|
|
| 1 |
-
"""
|
| 2 |
-
Mask R-CNN
|
| 3 |
-
Display and Visualization Functions.
|
| 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 os
|
| 11 |
import sys
|
| 12 |
import random
|
|
@@ -23,9 +14,9 @@ import IPython.display
|
|
| 23 |
# Root directory of the project
|
| 24 |
ROOT_DIR = os.path.abspath("../")
|
| 25 |
|
| 26 |
-
|
| 27 |
sys.path.append(ROOT_DIR) # To find local version of the library
|
| 28 |
-
from
|
| 29 |
|
| 30 |
|
| 31 |
############################################################
|
|
@@ -497,4 +488,4 @@ def display_weight_stats(model):
|
|
| 497 |
"{:+10.4f}".format(w.max()),
|
| 498 |
"{:+9.4f}".format(w.std()),
|
| 499 |
])
|
| 500 |
-
display_table(table)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import sys
|
| 3 |
import random
|
|
|
|
| 14 |
# Root directory of the project
|
| 15 |
ROOT_DIR = os.path.abspath("../")
|
| 16 |
|
| 17 |
+
|
| 18 |
sys.path.append(ROOT_DIR) # To find local version of the library
|
| 19 |
+
from bboxcnn import utils
|
| 20 |
|
| 21 |
|
| 22 |
############################################################
|
|
|
|
| 488 |
"{:+10.4f}".format(w.max()),
|
| 489 |
"{:+9.4f}".format(w.std()),
|
| 490 |
])
|
| 491 |
+
display_table(table)
|