We are trying to use two classifiers in an impulse project. One to classify sounds (Microphone) and another using the (Gyroscope). The target board is the Arduino BLE 33 sense. When we reach the final part to extract the Arduino code, we get the below error:
Can only generate code for a single Keras block
Is there a specific way to have a single project with two networks and get the final code for implementation?
At this time, only one Keras-based machine learning block (e.g. Classification) is supported. You can have a ML block + an anomaly block, but not 2+ Classifiers. Hope that helps!
Many thanks for the advise
Do both blocks requires the same amount of features? we have received the below error
This is a known issue at the moment and being worked on. Try selecting both “spectrogram” and “spectral features” for both your Classification and Anomaly Detection blocks to see if that allows you to train.
Thank you! we will check the thread and the discussion
Thank you! we will try the proposed approach to see if it works
I think the main issue is if you don’t want all the features as an input to the classifier. In the Anomaly Detection block, some features can be unchecked, but this is not an option for the NN Classification block.