Custom NN in Expert Mode fails training or gets stuck in retraining。

Hi everyone,

I’m using Edge Impulse Expert Mode to build a custom neural network for my embedded ML project, but I’m facing two consistent issues with my custom architectures:

  1. Many custom models fail to start training at all (either the process errors out immediately, or there’s no progress after several minutes).
  2. Even if initial training completes, the retraining/quantization phase always gets stuck indefinitely, with no further updates.

The default auto-generated models from Edge Impulse work perfectly with my dataset, so the issue seems specific to my custom network design. I want to understand:

  • What neural network architectures/layer types are fully compatible with Edge Impulse’s training and retraining pipeline?
  • Are there known patterns that cause these failures or hangs?

Hello @ESAC-SCJ first of all welcome to the Edge Impulse community!

Thanks for the detailed message. You are not the only one running into this when using Expert Mode.

Sometimes there are some compatibility constraints between custom architectures and the full Edge Impulse pipeline (training → retraining → quantization) rather than an issue with your dataset.

Could you please share more details about the custom models that you are using? Is your model compatible with your model needs to be compatible with TensorFlow/Keras? or quantization (int8) (e.g.)?

WIth that information we will know more to help you more!

Thanks!