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

YOLOv8-NAS 3D #46

Open
imdsafi09 opened this issue Aug 2, 2024 · 4 comments
Open

YOLOv8-NAS 3D #46

imdsafi09 opened this issue Aug 2, 2024 · 4 comments

Comments

@imdsafi09
Copy link

Hi,
I was recently exploring YOLO-NAS models and came across your GitHub yolonas_ros, which you already integrated with ROS (highly appreciated). If I have to use YOLO-NAS in this 3D object detection framework, would I need to change the weight files and configuration files from yolov8 to YOLO-NAS, or would a more comprehensive modification be required?

Thanks

@mgonzs13
Copy link
Owner

mgonzs13 commented Aug 2, 2024

Hi @imdsafi09, YOLO-NAS is supported since 3.3.0. Here you have an example of launching YOLO-NAS. You can use a modified version of the 3D launch by changing the model_tye to NAS and the model If you want to use YOLO-NAS with the 3D version.

@imdsafi09
Copy link
Author

Thank you, @mgonzs13; I highly appreciated your quick response.

@imdsafi09
Copy link
Author

hi @mgonzs13

I ran successfully with YOLO-NAS, too; thank you again. However, as you can see in the screenshot below, the 3D bounding boxes' shape, especially height, increases according to the 2D bounding boxes. It makes sense just for visualization, but when I integrate it with the SLAM, the bounding box size goes out of the map. I tried to put a constant value of z-axis when creating 3D bound boxes detect_3d_node.py, it works somehow, but I am just wondering this the right way or there is any better solution?

Note: This is not related to YOLO-NAS

Screenshot from 2024-08-13 10-59-58

@mgonzs13
Copy link
Owner

This may happen because the 2D bounding boxes include sections of the background of the detected object. You can try instance segmentation to create the 3D bounding boxes using YOLOv8 ros2 launch yolov8_bringup yolov8_3d.launch.py model:=yolov8m-seg.pt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants