File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 1313
1414from openvino .model_api .models .utils import DetectionResult
1515
16- from otx .algorithms .common .utils .logger import get_logger
1716from otx .api .utils .async_pipeline import OTXDetectionAsyncPipeline
1817from otx .api .utils .detection_utils import detection2array
1918from otx .api .utils .nms import multiclass_nms
2019from otx .api .utils .dataset_utils import non_linear_normalization
2120
22- logger = get_logger ()
23-
2421
2522class Tiler :
2623 """Tile Image into (non)overlapping Patches. Images are tiled in order to efficiently process large images.
@@ -78,8 +75,6 @@ def tile(self, image: np.ndarray) -> List[List[int]]:
7875 x2 = min (loc_j + self .tile_size , width )
7976 y2 = min (loc_i + self .tile_size , height )
8077 coords .append ([loc_j , loc_i , x2 , y2 ])
81- logger .debug (f"------------------------> Num tiles: { len (coords )} " )
82- logger .debug (f"------------------------> { height } x{ width } ~ { self .tile_size } " )
8378 return coords
8479
8580 def filter_tiles_by_objectness (
You can’t perform that action at this time.
0 commit comments