Skip to content

Commit 0beecf0

Browse files
🗑️ Remove Object Detection 3d (#4223)
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent d9f8e6c commit 0beecf0

File tree

92 files changed

+9
-5995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+9
-5995
lines changed

.github/workflows/pre_merge.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ jobs:
139139
- task: "anomaly_detection"
140140
- task: "anomaly_segmentation"
141141
- task: "keypoint_detection"
142-
- task: "object_detection_3d"
143142
name: Integration-Test-${{ matrix.task }}-py310
144143
steps:
145144
- name: Checkout repository

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ All notable changes to this project will be documented in this file.
7575
- Revert h-cls head to linear one
7676
(<https://github.com/openvinotoolkit/training_extensions/pull/4221>)
7777

78+
### Removed
79+
80+
- Remove object detection 3D task
81+
(<https://github.com/openvinotoolkit/training_extensions/pull/4223>)
82+
7883
## \[2.2.2\]
7984

8085
### Bug fixes

src/otx/algo/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"diffusion",
2020
"keypoint_detection",
2121
"modules",
22-
"object_detection_3d",
2322
"plugins",
2423
"samplers",
2524
"segmentation",

src/otx/algo/common/layers/position_embed.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import math
99

1010
import torch
11-
from otx.algo.object_detection_3d.utils.utils import NestedTensor
1211
from torch import nn
1312

1413

@@ -41,14 +40,11 @@ def __init__(
4140
scale = 2 * math.pi
4241
self.scale = scale
4342

44-
def forward(self, tensor_list: NestedTensor | torch.Tensor) -> torch.Tensor:
43+
def forward(self, tensor_list: torch.Tensor) -> torch.Tensor:
4544
"""Forward function for PositionEmbeddingSine module."""
4645
if isinstance(tensor_list, torch.Tensor):
4746
x = tensor_list
4847
mask = torch.zeros((x.size(0), x.size(2), x.size(3)), device=x.device, dtype=torch.bool)
49-
elif isinstance(tensor_list, NestedTensor):
50-
x = tensor_list.tensors
51-
mask = tensor_list.mask
5248
else:
5349
msg = f"Unrecognized type {type(tensor_list)}"
5450
raise TypeError(msg)

src/otx/algo/object_detection_3d/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/otx/algo/object_detection_3d/backbones/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/otx/algo/object_detection_3d/backbones/monodetr_resnet.py

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/otx/algo/object_detection_3d/detectors/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)