Float32Array byte length error when storing images in the cloud

5 views
Skip to first unread message

Edward MAN

unread,
Jan 15, 2026, 5:45:39 AM (23 hours ago) Jan 15
to Machine Learning for Kids

I’m working on an image recognition project and ran into an issue. When I go to the Train or Test page, I get this error:
“Byte length of Float32Array should be a multiple of 4.”

This only happens when I store the data in the cloud. If I store the images in the browser, everything works fine.

I’ve attached the images that appear to be causing the problem below.

Any idea what might be causing this or how to fix it? Thanks!

Screenshot 2026-01-15 at 11.54.09 AM.pngScreenshot 2026-01-15 at 11.54.17 AM.png

Dale Lane

unread,
Jan 15, 2026, 5:47:02 AM (22 hours ago) Jan 15
to Machine Learning for Kids
Sorry to hear you've had problems with this. 

I'm afraid there aren't any images attached to your post, so it's difficult to see exactly what has gone wrong here. Could you give me the full URL for your cloud project please? That would give me enough information to get started.

Kind regards

D

Edward MAN

unread,
Jan 15, 2026, 7:17:05 AM (21 hours ago) Jan 15
to Machine Learning for Kids
Hello, Dale. I have attached the images here. Please have a look. 
My training data: https://drive.google.com/file/d/1LIZYs5w5nVn_vzssMwK0yf3JIcKG6YKO/view?usp=sharing
The error message: https://drive.google.com/file/d/1bL8wBNZ6Y2jFUmloGgkQfKTDVIx0qrM6/view?usp=sharing

Best wishes,
Edward

Dale Lane

unread,
Jan 15, 2026, 7:17:40 AM (21 hours ago) Jan 15
to Machine Learning for Kids
Sorry, that isn't really very helpful. 

If you could just give me the full URL for your cloud project, please, that would give me enough information to get started. 

Kind regards

D

Edward MAN

unread,
1:59 AM (2 hours ago) 1:59 AM
to Machine Learning for Kids
Reply all
Reply to author
Forward
0 new messages