Error in oneHot: depth must be >=2, but it is 1
问题 So I was working with ml5 in js on a simple NeuralNetwork that was going to be trained by images using the p5 js lib to get the images into a array and then train them through ml5, But I ran into a major issue that I have been spending hours looking for the answer of this error but cant find it anywhere. Using Libraries p5,p5.sound,sketch,ml5 Js File let RustImage = []; function preload() { for (let i = 0; i < 5; i++) { RustImage[i] = loadImage(`RustPhotos/2020-12-08 (${i+7}).png`); } } let