# YOLOE format conversion

**URL:** <https://forum.core-electronics.com.au/t/yoloe-format-conversion/24517>\
**Category:** Support\
**Created:** [26 October 2026 18:25 UTC](https://forum.core-electronics.com.au/t/yoloe-format-conversion/24517 "2026-10-26T18:25:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry207389](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jerry207389](https://forum.core-electronics.com.au/u/Jerry207389)\
**Post date:** [26 October 2026 18:25 UTC](https://forum.core-electronics.com.au/t/yoloe-format-conversion/24517/1 "2026-10-26T18:25:11Z")

</div>

Hi,

I\*m following Jaryd’s formidable guide on [https://core-electronics.com.au/guides/custom-object-detection-models-without-training-yoloe-and-raspberry-pi/](https://core-electronics.com.au/guides/custom-object-detection-models-without-training-yoloe-and-raspberry-pi/) Everything works like clock until the format conversion. Once I run 'Prompt-Free ONNX Conversion.py, I get this error message, no matter which format I try to use:

Traceback (most recent call last):  
File “/home/jert/YOLOE/demo\_code/YOLOE Run Model.py”, line 2, in  
from picamera2 import Picamera2  
File “/usr/lib/python3/dist-packages/picamera2/ **init**.py”, line 11, in  
from .picamera2 import Picamera2, Preview  
File “/usr/lib/python3/dist-packages/picamera2/picamera2.py”, line 30, in  
from picamera2.encoders import Encoder, H264Encoder, MJPEGEncoder, Quality  
File “/usr/lib/python3/dist-packages/picamera2/encoders/ **init**.py”, line 7, in  
from .encoder import Encoder, Quality  
File “/usr/lib/python3/dist-packages/picamera2/encoders/encoder.py”, line 13, in  
from ..request import \_MappedBuffer  
File “/usr/lib/python3/dist-packages/picamera2/request.py”, line 13, in  
import simplejpeg  
File “/usr/lib/python3/dist-packages/simplejpeg/ **init**.py”, line 1, in  
from .\_jpeg import encode\_jpeg, encode\_jpeg\_yuv\_planes  
File “simplejpeg/\_jpeg.pyx”, line 1, in init simplejpeg.\_jpeg  
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

What happens? And, of course, how to cure it?

---

<div class="post-metadata">

**Author:** ![Jane](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jane/32/12622_2.png) [@Jane](https://forum.core-electronics.com.au/u/Jane)\
**Post date:** [28 October 2026 03:30 UTC](https://forum.core-electronics.com.au/t/yoloe-format-conversion/24517/2 "2026-10-28T03:30:27Z")

</div>

Hey there, @Jerry207389, and welcome to the forum. Glad to have you here.

That error points to a binary compatibility mismatch between NumPy and `simplejpeg`, which Picamera2 imports.

Could you please confirm which Raspberry Pi OS version are you running, Bookworm or Trixie? Trixie can introduce dependency differences with these guides, so Bookworm is the safer starting point.

Could you also run this in the same Python environment that gives the error and share the output?

```python
import numpy as np
print(np. __version__ )

```
