@Zachary-Lowell-0 Got it, I will try that out and will let you know if I have any more questions. Thanks for your help!
Latest posts made by svempati
-
RE: No detections when running custom YOLOv8 model on voxl-tflite-serverposted in VOXL 2
-
RE: No detections when running custom YOLOv8 model on voxl-tflite-serverposted in VOXL 2
I see, so my model is not supported by the voxl-tflite-server since it is float16 and the tflite server only supports 32 bit precision if we want to use floating point values. Am I understanding that correctly or am I missing something? Cause the default YOLOv5 model that is included in the VOXL 2 model (
yolov5_float16_quant.tflite) is also of float 16 precision so I wonder how the functions intensor_data.hhandle that.One question, what command did you use to view these error logs from voxl-tflite server?
Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here Error in TensorData<float>: should not reach here -
RE: No detections when running custom YOLOv8 model on voxl-tflite-serverposted in VOXL 2
Hi @Zachary-Lowell-0, Yes I am confirming that I followed the instructions in that gitlab repository.
Here is the tflite file and labels file: https://drive.google.com/drive/folders/1kyjanabVSP_pH_jsQyjQG9z6hFYZ_iij?usp=drive_link -
No detections when running custom YOLOv8 model on voxl-tflite-serverposted in VOXL 2
Hello,
I am trying to run a custom YOLOv8 model on the voxl-tflite-server. The model detects ships and the
yolov8_labels.txtfile only contains oneshipclass. However, when I run the tflite server and view it onvoxl-portalI can see the video feed, but cannot see any bounding box detections even when the target is in the camera frame.
I tried another variation for the labels file by having the class index and label name like this:0 ship, but that doesn't work either.
I also ranvoxl-inspect-detectionsbut it doesn't show any detections there.When I tested the default yolov5 and yolov8 models on
voxl-tflite-server, it displays the bounding boxes and shows the list of detections invoxl-inspect-detectionsjust fine.If it helps, I used this command to convert the YOLOv8 model to the tflite format:
yolo export model=best.pt format=tfliteI use the quantized 16 bit tflite model named
yolov8_best_float16.tflite.This is how I set up the config file
/etc/modalai/voxl-tflite-server.conf:{ "skip_n_frames": 0, "model": "/usr/bin/dnn/yolov8_best_float16.tflite", "input_pipe": "/run/mpa/front_small_color/", "delegate": "gpu", "requires_labels": true, "labels": "/usr/bin/dnn/yolov8_labels.txt", "allow_multiple": false, "output_pipe_prefix": "yolov8" }Is there anything I missed that is leading to no detections on the
voxl-tflite-server?I would appreciate any help!
-
RE: VOXL Connection to MAVLINK server failed using pymavlinkposted in Ask your questions right here!
@tom No I don't have a wifi dongle connected.
-
RE: VOXL Connection to MAVLINK server failed using pymavlinkposted in Ask your questions right here!
@tom I ran
ifconfigon voxl2, but I haven't found anything onwlan0. This is the output I get after running that command:bond0: flags=5123<UP,BROADCAST,MASTER,MULTICAST> mtu 1500 ether fe:ca:d2:74:91:69 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500 inet6 fe80::e2a:ce35:6c11:d803 prefixlen 64 scopeid 0x20<link> ether de:92:20:5e:07:c9 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 25 bytes 7462 (7.4 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 368130 bytes 35420354 (35.4 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 368130 bytes 35420354 (35.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0would any of these help with finding the voxl's ip address?
-
VOXL Connection to MAVLINK server failed using pymavlinkposted in Ask your questions right here!
Hello, I am trying to read mavlink messages like the pressure and altitude from the VOXL 2 sensors using pymavlink. I wanted to make sure that the udpin to the mavlink connection is correct?
I am having trouble connecting to the mavlink server. I set the port number to 14557 based on the first diagram in this page: (https://docs.modalai.com/mavlink/).
When I uselocalhostas the port, . When I uselocalhost, I get an error that saysOSError: [Errno 98] Address already in use, and when I use the IP address192.168.8.10it gives an error that saysOSError: [Errno 99] Cannot assign requested address.If that is not the correct IP address, how can I find the IP address for my specific VOXL? It is worth noting that my VOXL isn't connected to the internet, but is physically connected to the flight controller by wire.
Thanks for your help!
# MAVLINK Common Message Set: https://mavlink.io/en/messages/common.html from pymavlink import mavutil the_connection = mavutil.mavlink_connection('udpin:192.168.8.10:14557') the_connection.wait_heartbeat() print("Heartbeat from system (system %u component %u)" % (the_connection.target_system, the_connection.target_component)) while True: try: # local xyz position msg_pos = the_connection.recv_match(type='LOCAL_POSITION_NED', blocking=True) print(msg_pos.x, msg_pos.y, msg_pos.z) # altitude msg_altitude = the_connection.recv_match(type='ALTITUDE', blocking=True) print(msg_altitude.altitude_local, msg_altitude.altitude_relative) # pressure msg_pressure = the_connection.recv_match(type='SCALED_PRESSURE', blocking=True) print(msg_pressure.press_abs) except KeyboardInterrupt: print('Terminating mavlink...') break -
RE: Using OV9782 image sensor for VIO on VOXL 2posted in GPS-denied Navigation (VIO)
@Alex-Kushleyev I haven't yet but will try doing that. I just wasn't sure how to configure the camera for VIO. Thank you!
-
Using OV9782 image sensor for VIO on VOXL 2posted in GPS-denied Navigation (VIO)
I am trying to implement Visual Inertial Odometry using the QVIO server to find the local XYZ positions, but the documentation only mentions it working with the tracking camera (Camera and IMU Calibration section in https://docs.modalai.com/voxl-qvio-server-0_9/#resetting-vio).
Would I be able to use the OV7982 image sensor on VOXL 2 so that I get a similar output as the one below when I run
voxl-inspect-qvio? If that would work, are there additional configurations or parameters I need to change before running VIO?yocto:/$ voxl-inspect-qvio T_imu_wrt_vio (m) |Roll Pitch Yaw (deg)| state| error_code -4.96 0.94 -0.00| 17.9 -52.3 9.3| OKAY | -
RE: Create a new pipe to publish barometer data for VOXL 2posted in Modal Pipe Architecture (MPA)
@Alex-Kushleyev Got it. Thank you your help and for taking the time to answer my questions!
Sashank