-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Mergeback 1.4.4 to 1.5.0 (#2745) * Update MAPI version (#2730) * Update anomaly ov inference task * Update reqs in exportable code * Fix one more place of conversion of anomaly map * Update dependency for exportable code (#2732) * Fix unsupported dtype in ov graph constant converter --------- Co-authored-by: Vladislav Sovrasov <[email protected]> * Mergeback 1.4.0 to 1.5.0 (#2826) * Update MAPI version (#2730) * Update dependency for exportable code (#2732) * Filter invalid polygon shapes (#2795) --------- Co-authored-by: Vladislav Sovrasov <[email protected]> Co-authored-by: Eugene Liu <[email protected]> * Mergeback changes for 1.4.5 to releases/1.5.0 (#2871) * Update MAPI version (#2730) * Update anomaly ov inference task * Fix one more place of conversion of anomaly map * Update dependency for exportable code (#2732) * Fix unsupported dtype in ov graph constant converter * Filter invalid polygon shapes (#2795) * fix segmentation test * Update for releases 1.4.5 (#2837) * 🐞 Bugfix: Set reverse_input_channels to True in OpenVINO models (#2848) * Set reverse_input_channels to True * Remove dependency of protobuf (#2851) * Update release notes and changelog for 1.4.5 (#2853) --------- Co-authored-by: Vladislav Sovrasov <[email protected]> Co-authored-by: Eugene Liu <[email protected]> Co-authored-by: Ashwin Vaidya <[email protected]> * Update version string to 1.5.1 (#2874) update version string to 1.5.1 * [Release 1.5] Fix label order for h-cls (#2921) Fix h-cls label order * Revert MRCNN resize to state from 1.4 (#2922) * Update openvino.txt (#2923) * Remove polygon clipping code (#2926) * Fix default memcache size to 100MB (#2960) * Fix default memcache size to 100MB * Deal with empty annotation of 'No Object' label images --------- Signed-off-by: Songki Choi <[email protected]> * Hotfix default memcache size to 100MB (#2990) * Fix default memcache size to 100MB * Fix memcache size max limit to 10GB * Update CHANGELOG.md * Hotfix: fix wrong domain in tiling rotated detection (#3141) * domain=rotated_detection in tile_pipeline * update tile pipeline * Update otx version to 1.5.2 (#3174) * update otx version to 1.5.2 * Update CHANGELOG.md --------- Co-authored-by: Vladislav Sovrasov <[email protected]> Co-authored-by: Eugene Liu <[email protected]> Co-authored-by: Ashwin Vaidya <[email protected]> Co-authored-by: Galina Zalesskaya <[email protected]> Co-authored-by: Emily Chun <[email protected]> Co-authored-by: Songki Choi <[email protected]>
- Loading branch information
1 parent
48f84b1
commit 620dfd1
Showing
21 changed files
with
286 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 90 additions & 2 deletions
92
.../algorithms/detection/configs/rotated_detection/efficientnetb2b_maskrcnn/tile_pipeline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,95 @@ | ||
"""Tiling Pipeline of EfficientNetB2B model for Instance-Seg Task.""" | ||
"""Tiling Pipeline of EfficientNetB2B model.""" | ||
|
||
# Copyright (C) 2023 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# pylint: disable=invalid-name | ||
|
||
_base_ = ["../../base/data/tiling/efficientnet_iseg_tile_pipeline.py"] | ||
img_size = (512, 512) | ||
|
||
tile_cfg = dict( | ||
tile_size=400, min_area_ratio=0.9, overlap_ratio=0.2, iou_threshold=0.45, max_per_img=1500, filter_empty_gt=True | ||
) | ||
|
||
img_norm_cfg = dict(mean=(103.53, 116.28, 123.675), std=(1.0, 1.0, 1.0), to_rgb=True) | ||
|
||
train_pipeline = [ | ||
dict(type="Resize", img_scale=img_size, keep_ratio=False), | ||
dict(type="RandomFlip", flip_ratio=0.5), | ||
dict(type="Normalize", **img_norm_cfg), | ||
dict(type="Pad", size_divisor=32), | ||
dict(type="DefaultFormatBundle"), | ||
dict( | ||
type="Collect", | ||
keys=["img", "gt_bboxes", "gt_labels", "gt_masks"], | ||
meta_keys=[ | ||
"filename", | ||
"ori_filename", | ||
"ori_shape", | ||
"img_shape", | ||
"pad_shape", | ||
"scale_factor", | ||
"flip", | ||
"flip_direction", | ||
"img_norm_cfg", | ||
], | ||
), | ||
] | ||
|
||
test_pipeline = [ | ||
dict( | ||
type="MultiScaleFlipAug", | ||
img_scale=img_size, | ||
flip=False, | ||
transforms=[ | ||
dict(type="Resize", keep_ratio=False), | ||
dict(type="RandomFlip"), | ||
dict(type="Normalize", **img_norm_cfg), | ||
dict(type="Pad", size_divisor=32), | ||
dict(type="ImageToTensor", keys=["img"]), | ||
dict(type="Collect", keys=["img"]), | ||
], | ||
) | ||
] | ||
|
||
__dataset_type = "OTXDetDataset" | ||
|
||
train_dataset = dict( | ||
type="ImageTilingDataset", | ||
dataset=dict( | ||
type=__dataset_type, | ||
pipeline=[ | ||
dict(type="LoadImageFromOTXDataset", enable_memcache=True), | ||
dict(type="LoadAnnotationFromOTXDataset", domain="rotated_detection", with_bbox=True, with_mask=True), | ||
], | ||
), | ||
pipeline=train_pipeline, | ||
**tile_cfg | ||
) | ||
|
||
val_dataset = dict( | ||
type="ImageTilingDataset", | ||
dataset=dict( | ||
type=__dataset_type, | ||
pipeline=[ | ||
dict(type="LoadImageFromOTXDataset", enable_memcache=True), | ||
dict(type="LoadAnnotationFromOTXDataset", domain="rotated_detection", with_bbox=True, with_mask=True), | ||
], | ||
), | ||
pipeline=test_pipeline, | ||
**tile_cfg | ||
) | ||
|
||
test_dataset = dict( | ||
type="ImageTilingDataset", | ||
dataset=dict( | ||
type=__dataset_type, | ||
test_mode=True, | ||
pipeline=[dict(type="LoadImageFromOTXDataset")], | ||
), | ||
pipeline=test_pipeline, | ||
**tile_cfg | ||
) | ||
|
||
|
||
data = dict(train=train_dataset, val=val_dataset, test=test_dataset) |
Oops, something went wrong.