I know this has been asked before, but there wasn’t really a clear explanation. I keep getting this error when I try to train. I tried using a different classifier. No joy.
RuntimeError: The maximum input event value is 15, got 123
Project ID: 184199
Context/Use case: This error was thrown following the Edge Impulse tutorial on this site. I am using a seeeduino xiao ble sense hooked to a .66 grove OLED and li-po battery. Would appreciate any insight!
Here is more context:
Profiling akida model…
WARNING: Requested model can’t be fully mapped to hardware. Reason:
WARNING: Error when mapping layer ‘dense’: Weight bits should be between 1 and 4 inclusive.
WARNING: Reported program size, number of NPs and nodes may not be accurate!
Traceback (most recent call last):
File “/home/profile.py”, line 339, in
main_function()
File “/home/profile.py”, line 317, in main_function
metadata = ei_tensorflow.profiling.get_model_metadata(model, validation_dataset, Y_test, samples_dataset, Y_samples, has_samples,
File “/app/./resources/libraries/ei_tensorflow/profiling.py”, line 713, in get_model_metadata
akida_perf = profile_model(model_type, None, None, validation_dataset, Y_test, X_samples,
File “/app/./resources/libraries/ei_tensorflow/profiling.py”, line 245, in profile_model
prediction, prediction_train, prediction_test = make_predictions(mode, model, validation_dataset, Y_test,
File “/app/./resources/libraries/ei_tensorflow/profiling.py”, line 206, in make_predictions
return ei_tensorflow.brainchip.model.make_predictions(mode, akida_model_path, validation_dataset,
File “/app/./resources/libraries/ei_tensorflow/brainchip/model.py”, line 53, in make_predictions
prediction = predict(model_path, validation_dataset, len(Y_test))
File “/app/./resources/libraries/ei_tensorflow/brainchip/model.py”, line 95, in predict
output = model.predict(item)
RuntimeError: The maximum input event value is 15, got 123
Application exited with code 1
Job failed (see above)