-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Any plan support RT-DETR? #10186
Comments
+1 for this |
1 similar comment
+1 for this |
We've implemented RT-DETR now in Install Ultralyticspip install ultralytics Predict with RT-DETRfrom ultralytics import RTDETR
# Load the model
model = RTDETR("rtdetr-l.pt")
# Run inference
results = model.predict("https://ultralytics.com/images/bus.jpg") For details see https://docs.ultralytics.com/models/rtdetr |
@glenn-jocher Thanks, amazing speed, too curly! |
@glenn-jocher Does it already support training, or does it currently support inference? |
It supports prediction and validation currently. We'll work on supporting training soon |
#10498 |
im waitingggggg |
@nijkah @hhaAndroid is there an ETA regarding this? Traceback (most recent call last):
File "C:\<omitted>\mmrtdetr\tools\test.py", line 149, in <module>
main()
File "C:\<omitted>\mmrtdetr\tools\test.py", line 131, in main
runner = Runner.from_cfg(cfg)
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\runner\runner.py", line 439, in from_cfg
runner = cls(
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\runner\runner.py", line 406, in __init__
self.model = self.build_model(model)
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\runner\runner.py", line 813, in build_model
model = MODELS.build(model)
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\registry\registry.py", line 548, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\registry\build_functions.py", line 250, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "C:\<omitted>\mmrtdetr\venv\lib\site-packages\mmengine\registry\build_functions.py", line 100, in build_from_cfg
raise KeyError(
KeyError: 'RTDETR is not in the model registry. Please check whether the value of `RTDETR` is correct or it was registered
as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module' |
Hi @Zunon , did you run |
I provided a clean code version for RT-DETR that you can try if you are interested, including benchmark (tensorrt inference), rtdetr_paddle, rtdetr_pytorch. For details see https://github.com/lyuwenyu/RT-DETR |
Release pytorch rtdetr, try it in https://github.com/lyuwenyu/RT-DETR/tree/main/rtdetr_pytorch |
thank you! the next work is train in cocodataset. |
any progress? |
mm系列会更新rt-detr吗,非常期待 |
Describe the feature
Motivation
There is a recent paper https://arxiv.org/abs/2304.08069 which is very helpful for Object Detection in DETR style.
The proposed RT-DETR-L achieves 53.0% AP on COCO val2017 and 114 FPS on T4 GPU, while RT-DETR-X achieves 54.8% AP and 74 FPS, outperforming all YOLO detectors of the same scale in both speed and accuracy.
Related resources
The official code release.
https://github.com/PaddlePaddle/PaddleDetection/tree/develop/configs/rtdetr
Additional context
Add any other context or screenshots about the feature request here.
If you would like to implement the feature and create a PR, please leave a comment here and that would be much appreciated.
The text was updated successfully, but these errors were encountered: