GiorgosXou / NeuralNetworks

A resource-conscious neural network implementation for MCUs
MIT License
70 stars 21 forks source link

`seek` implementation, results in `B00010000` not `load`ing the NN properly #26

Closed GiorgosXou closed 3 months ago

GiorgosXou commented 3 months ago

Ah... I knew it...: https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/src/NeuralNetwork.h#L1445 so... REDUCE_RAM_WEIGHTS_LVL2\B00010000-optimization can't be used with SD properly, needs to be fixed.

GiorgosXou commented 3 months ago

eg. That's an Arduino UNO issue, not an issue when i was testing it with ESP32-C3

GiorgosXou commented 3 months ago

Ha! File myFile = SD.open(file, O_WRITE | O_CREAT); fixes it. (At least for UNO) source

GiorgosXou commented 3 months ago

Partially solved :P