-
Notifications
You must be signed in to change notification settings - Fork 443
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
Enable DINO to OTX - Step 1. Enable Deformable DETR to OTX #2249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding great model :)
I left some comments. please take a look.
otx/algorithms/common/adapters/mmcv/ops/multi_scale_deformable_attn_pytorch.py
Outdated
Show resolved
Hide resolved
otx/algorithms/common/adapters/mmcv/ops/multi_scale_deformable_attn_pytorch.py
Outdated
Show resolved
Hide resolved
otx/algorithms/detection/adapters/mmdet/models/detectors/custom_deformable_detr_detector.py
Outdated
Show resolved
Hide resolved
otx/algorithms/detection/configs/detection/resnet50_deformable-detr/data_pipeline.py
Show resolved
Hide resolved
otx/algorithms/detection/configs/detection/resnet50_deformable-detr/template_experimental.yaml
Show resolved
Hide resolved
otx/algorithms/detection/configs/detection/resnet50_deformable-detr/template_experimental.yaml
Show resolved
Hide resolved
otx/algorithms/detection/configs/detection/resnet50_deformable-detr/template_experimental.yaml
Show resolved
Hide resolved
tests/unit/algorithms/common/adapters/mmdeploy/ops/test_custom_ops.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to the new algorithm. It looks good for the most part, and I have a few comments.
otx/algorithms/common/adapters/mmcv/ops/multi_scale_deformable_attn_pytorch.py
Show resolved
Hide resolved
otx/algorithms/detection/adapters/mmdet/models/detectors/custom_deformable_detr_detector.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
BTW, Anything to add to the documentation for this?
Documentation will be updated after adding DINO and conducting some experiments on public datasets |
Summary
As a first step to bring DINO to OTX, this PR enable Deformable DETR to OTX.
Since mmdeploy do not support Deformable DETR(it supports only DETR), there are some custom patches for mmcv and mmdeploy ops
Known Issue
These known issues are handled after implementing DINO from this PR
How to test
Unit tests and integration tests are added. E2E Test will be added after implementing DINO
Checklist
License
Feel free to contact the maintainers if that's a concern.