Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 3D Detection And 2D Tracking Tests #207

Merged
merged 36 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
57e0524
include 3d detection test
iliiliiliili Jan 31, 2022
ec21061
fix np bool warning
iliiliiliili Jan 31, 2022
709aed6
Revert "fix np bool warning"
iliiliiliili Jan 31, 2022
f22102e
Remove del learner
iliiliiliili Jan 31, 2022
dbe5aa9
Eneable tracking 3d tests
iliiliiliili Jan 31, 2022
3846cbb
Add init for 2d tracking tests
iliiliiliili Jan 31, 2022
a3eceef
Update 3D tracking dependencies
iliiliiliili Jan 31, 2022
d96806d
Merge branch 'master' into fix-3d-tests
iliiliiliili Apr 3, 2022
d4dec9a
Docker, installation and documentation improvements (#276)
passalis Jul 13, 2022
f106e30
DetectionDataset evaluation fix for empty detections (#285)
vivinousi Aug 18, 2022
cba65ac
Checkout specific detectron commit
passalis Aug 22, 2022
f385858
Install specific detectron2 commit
passalis Aug 22, 2022
94d7281
Point to specific detectron2 commit
passalis Aug 22, 2022
1cbde46
Update installation.md
passalis Aug 22, 2022
5594d4b
Update dependencies.ini
passalis Aug 23, 2022
d884c2c
Update dependencies.ini
passalis Aug 23, 2022
bbb0201
Update requirements.txt
passalis Aug 23, 2022
a1431a1
Update dependencies.ini
passalis Aug 23, 2022
0bfa49a
Update dependencies.ini
passalis Aug 23, 2022
a4851b0
Update requirements.txt
passalis Aug 23, 2022
2069344
Update to support newer skimage version
passalis Aug 23, 2022
0b1ae83
Clarified purpose and limitations of fall detection tool (#280)
tsampazk Aug 23, 2022
1024739
Merge branch 'master' into fix-3d-tests
iliiliiliili Aug 23, 2022
6183d11
Merge branch 'develop' into fix-3d-tests
iliiliiliili Aug 23, 2022
e5c0167
Enable All 3d test
iliiliiliili Aug 23, 2022
0c9dce6
Fix slow data preparation for KITTI
iliiliiliili Aug 23, 2022
bb02c28
Merge remote-tracking branch 'github/fix_detectron2' into fix-3d-tests
iliiliiliili Aug 23, 2022
a6958ca
Simplify 3d detection tests
iliiliiliili Aug 23, 2022
b6d97e1
Merge branch 'master' into fix-3d-tests
iliiliiliili Aug 31, 2022
3ee7cdd
Fix unclosed file
iliiliiliili Aug 31, 2022
16944c0
Merge branch 'fix-3d-tests' of https://github.com/tasostefas/opendr_i…
iliiliiliili Aug 31, 2022
233598e
Fix repeated eval failure
iliiliiliili Aug 31, 2022
838e23d
Cleanup
ad-daniel Sep 5, 2022
52a2fdd
Cleanup
ad-daniel Sep 5, 2022
47e4fe7
Cleanup
ad-daniel Sep 5, 2022
db6c738
Remove unused test functions
iliiliiliili Sep 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
- perception/object_detection_2d/retinaface
- perception/object_detection_2d/nms
- perception/facial_expression_recognition
# - perception/object_detection_3d
- perception/object_detection_3d
# - control/mobile_manipulation
# - simulation/human_model_generation
# - control/single_demo_grasp
# - perception/object_tracking_3d
- perception/object_tracking_3d
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- control/mobile_manipulation
- simulation/human_model_generation
- control/single_demo_grasp
# - perception/object_tracking_3d
- perception/object_tracking_3d
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python 3.8
Expand Down
3 changes: 3 additions & 0 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main
make install_compilation_dependencies
make install_runtime_dependencies

# Install additional ROS packages
sudo apt-get install ros-noetic-vision-msgs ros-noetic-audio-common-msgs

# If working on GPU install GPU dependencies as needed
if [[ "${OPENDR_DEVICE}" == "gpu" ]]; then
pip3 uninstall -y mxnet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def update(self, det_boxes, det_labels, det_scores, gt_boxes, gt_labels, gt_diff
if score < self.score_threshold:
continue
img_dets.append(np.asarray([image['id'], box[0], box[1], box[2] - box[0], box[3] - box[1], score, cls]))
self.detections.append(np.asarray(img_dets))
if img_dets:
self.detections.append(np.asarray(img_dets))

for box_idx, box in enumerate(gt_boxes[idx, :, :]):
cls = gt_labels[idx, box_idx]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[runtime]
# 'python' key expects a value using the Python requirements file format
# https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format

python=torch==1.9.0
torchvision==0.10.0
tensorboardX>=2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ model: {
num_class: 1
voxel_feature_extractor: {
module_class_name: "PillarFeatureNet"
num_filters: [64]
num_filters: [4]
with_distance: false
}
middle_feature_extractor: {
module_class_name: "PointPillarsScatter"
}
rpn: {
module_class_name: "RPN"
layer_nums: [3, 5, 5]
layer_nums: [1, 1, 1]
layer_strides: [2, 2, 2]
num_filters: [64, 128, 256]
num_filters: [4, 4, 4]
upsample_strides: [1, 2, 4]
num_upsample_filters: [128, 128, 128]
num_upsample_filters: [4, 4, 4]
use_groupnorm: false
num_groups: 32
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ model: {
}
rpn: {
module_class_name: "PSA"
layer_nums: [3, 5, 5]
layer_nums: [1, 1, 1]
layer_strides: [2, 2, 2]
num_filters: [64, 128, 256]
upsample_strides: [1, 2, 4]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def surface_equ_3d_jit(polygon_surfaces):
return normal_vec, -d


@numba.jit(nopython=False)
def points_in_convex_polygon_3d_jit(points,
polygon_surfaces,
num_surfaces=None):
Expand Down
Loading