|
15 | 15 |
|
16 | 16 | REGION_PROPOSALS = numpy.zeros(shape=(1, POST_NMS_ROIS_INFERENCE, 4), dtype=numpy.float32) |
17 | 17 |
|
18 | | -REGION_PROPOSALS[0, 0, :] = [0.0, 0.0 , 0.2, 0.3] |
19 | | -REGION_PROPOSALS[0, 1, :] = [0.42, 0.02, 0.8, 0.267] |
20 | | -REGION_PROPOSALS[0, 2, :] = [0.12, 0.52, 0.55, 0.84] |
21 | | -REGION_PROPOSALS[0, 3, :] = [0.61, 0.71, 0.87, 0.21] |
22 | | -REGION_PROPOSALS[0, 4, :] = [0.074, 0.83, 0.212, 0.94] |
| 18 | +# REGION_PROPOSALS[0, 0, :] = [0.0, 0.0 , 0.2, 0.3] |
| 19 | +# REGION_PROPOSALS[0, 1, :] = [0.42, 0.02, 0.8, 0.267] |
| 20 | +# REGION_PROPOSALS[0, 2, :] = [0.12, 0.52, 0.55, 0.84] |
| 21 | +# REGION_PROPOSALS[0, 3, :] = [0.61, 0.71, 0.87, 0.21] |
| 22 | +# REGION_PROPOSALS[0, 4, :] = [0.074, 0.83, 0.212, 0.94] |
23 | 23 |
|
24 | | -# REGION_PROPOSALS[0, 0, :] = [0.49552074, 0. , 0.53763664, 0.09105143] |
25 | | -# REGION_PROPOSALS[0, 1, :] = [0.5294977 , 0.39210293, 0.63644147, 0.44242138] |
26 | | -# REGION_PROPOSALS[0, 2, :] = [0.36204672, 0.40500385, 0.6706183 , 0.54514766] |
27 | | -# REGION_PROPOSALS[0, 3, :] = [0.48107424, 0.08110721, 0.51513755, 0.17086479] |
28 | | -# REGION_PROPOSALS[0, 4, :] = [0.45803332, 0.15717855, 0.4798005 , 0.20352092] |
| 24 | +REGION_PROPOSALS[0, 0, :] = [0.49552074, 0. , 0.53763664, 0.09105143] |
| 25 | +REGION_PROPOSALS[0, 1, :] = [0.5294977 , 0.39210293, 0.63644147, 0.44242138] |
| 26 | +REGION_PROPOSALS[0, 2, :] = [0.36204672, 0.40500385, 0.6706183 , 0.54514766] |
| 27 | +REGION_PROPOSALS[0, 3, :] = [0.48107424, 0.08110721, 0.51513755, 0.17086479] |
| 28 | +REGION_PROPOSALS[0, 4, :] = [0.45803332, 0.15717855, 0.4798005 , 0.20352092] |
29 | 29 |
|
30 | 30 | class SimpleConfig(mrcnn_directed.config.Config): |
31 | 31 | # Give the configuration a recognizable name |
@@ -71,3 +71,7 @@ class SimpleConfig(mrcnn_directed.config.Config): |
71 | 71 | class_ids=r['class_ids'], |
72 | 72 | class_names=CLASS_NAMES, |
73 | 73 | scores=r['scores']) |
| 74 | +print(r['rois'].shape) |
| 75 | +print(r['masks'].shape) |
| 76 | +print(r['class_ids'].shape) |
| 77 | +print(r['scores'].shape) |
0 commit comments