Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

AI Camera - IMX500 • Re: ValueError: tensor info length 260 does not match expected size 708

$
0
0
I am facing this issue as well.

I have a Raspberry Pi 5 with a 64-bit OS.

Code:

$ uname -aLinux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
I am using the raspberry pi AI camera based on the Sony imx500 module. The rpicam-hello demo works fine as do the python demos that are found in the picamera2/examples folder, however those found in the picamera2/examples/imx500 folder all fail with a "ValueError: tensor info length 708 does not match expected size 260"

Code:

$ apt list | grep python3-libcamerapython3-libcamera-dbgsym/stable 0.3.2+rpt20241119-1 arm64python3-libcamera-dbgsym/stable 0.3.2+rpt20241119-1 armhfpython3-libcamera/stable,now 0.3.2+rpt20241119-1 arm64 [installed]python3-libcamera/stable 0.3.2+rpt20241119-1 armhf

Code:

$ apt list | grep rpicamrpicam-apps-dbgsym/stable 1.5.3-1 arm64rpicam-apps-dbgsym/stable 1.5.3-1 armhfrpicam-apps-hailo-postprocess-dbgsym/stable 1.5.3-1 arm64rpicam-apps-hailo-postprocess/stable 1.5.3-1 arm64rpicam-apps-imx500-postprocess-dbgsym/stable 1.5.3-1 arm64rpicam-apps-imx500-postprocess/stable,now 1.5.3-1 arm64 [installed,automatic]rpicam-apps-imx500-postprocess/stable 1.5.3-1 armhfrpicam-apps-lite-dbgsym/stable 1.5.3-1 arm64rpicam-apps-lite-dbgsym/stable 1.5.3-1 armhfrpicam-apps-lite/stable 1.5.3-1 arm64rpicam-apps-lite/stable 1.5.3-1 armhfrpicam-apps/stable,now 1.5.3-1 arm64 [installed]rpicam-apps/stable 1.5.3-1 armhf

Statistics: Posted by ereich1217 — Wed Dec 04, 2024 11:21 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles