# YOLOV8n conversion to tflite runs only on the CPU but has segmentation errors trying to run on the GPU

Source: https://forum.modalai.com/topic/3065/yolov8n-conversion-to-tflite-runs-only-on-the-cpu-but-has-segmentation-errors-trying-to-run-on-the-gpu
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2024-01-28 15:52:38 UTC by ErezI
Replies: 2 · Views: 1867

## ErezI · 2024-01-28 15:52:38 UTC

Hi,
We tried to convert YOLOV8n detection to tflite on VOXL2 according to your instruction
(https://docs.modalai.com/voxl-tflite-server/).

After changing also the new tflite to the same existing YOLOV5 file name
(/usr/bin/dnn/yolov5_float16_quant.tflite)
we succeed in running it with CPU delegate
(/etc/modalai/voxl-tflite-server.conf),
but not on the GPU.

1.Is it possible to get the full yolov5 to tflite conversation
you used in order to get a functional tflite file running on the GPU
and also the relevant configuration and parameters used for the already existing YOLOV5's tflite file  
(conf, iou, opset, imgsz, max_det, half, int8, dnn, etc.).

2.Did you try to convert & use updated YOLO version for the VOXL2 GPU?

Thanks,

Erez

## Reply by Moderator (ModalAI staff) · 2024-01-28 21:01:19 UTC

@ErezI this thread is likely useful https://forum.modalai.com/topic/2997/can-anyone-recommend-a-tflite-colab-notebook-for-voxl2-training/28

## Reply by Guest · 2024-01-29 05:48:39 UTC (in reply to Moderator)

@ErezI 

After following that thread let me know what questions you have, I'm happy to help!!

Thomas Patton
