Expert mode
Last updated
Was this helpful?
Last updated
Was this helpful?
Expert Mode is designed for users with advanced knowledge of machine learning and , offering greater control over model customization. This mode is useful when working on complex models or when you need specific adjustments beyond the pre-built learning blocks in Edge Impulse Studio. It's also great if you want to copy and paste existing models or code for quick modifications.
If you have expertise in machine learning and Keras, you can switch to Expert Mode to access the entire and bring in your models or custom architectures:
To enable Keras (expert) mode in Edge Impulse:
Navigate to the model configuration page in Edge Impulse Studio.
Click on the "⋮" button (three vertical dots) to open the options menu.
Toggle the "Expert Mode" option.
Once enabled, you can access and modify the full Keras code for your model. This unlocks advanced customization features, allowing you to train your model to meet specific requirements.
In expert mode, you have access to a wide range of advanced features, including:
Custom Architectures: Use the full Keras API to create and modify neural network architectures. This includes changing loss functions, optimizers, and printing model architectures.
For security reasons, network access is not enabled for jobs triggered by learning blocks, so external pre-trained weights cannot be fetched. Enterprise users can contact their solution engineer if network access is needed.
This advanced level of customization accelerates experimentation and ensures models are precisely optimized to meet the specific constraints and demands of each project.
Examples are available in the sub-pages of the .
If you already have a trained model, you can bring this model to Edge Impulse using our .
Early Stopping Callback: Prevent overfitting by setting up early stopping callbacks, with control over parameters such as monitor
, min_delta
, patience
, and restore_best_weights
. .
Object Weighting for FOMO: Adjust the weighting of object output cells in the loss function, particularly useful for rare object detection scenarios. .
MobileNet Cut Point Adjustment: Customize cut points in the MobileNetV2 architecture to modify spatial reduction and model capacity. .
FOMO Classifier Capacity Enhancement: Increase the capacity of the FOMO classifier by adding layers or increasing filters. .
Transfer Learning Adjustments: Customize the final layers of pre-trained models like MobileNetV1 for specific tasks, such as audio or image classification. .
Activation Functions: Implement custom activation functions to enhance model performance. .
Optimizer Customization: Integrate advanced optimizers like VeLO for superior training efficiency. .
Loss Function Customization: Define and implement custom loss functions tailored to your specific problem. .
Epoch Management: Control the number of training cycles and apply early stopping techniques to optimize training time and model accuracy. .
Expert Mode provides ML experts access and flexibility to fine-tune their machine-learning models for optimal performance. By accessing the ,users can customize every aspect of their models, including architecture design, loss functions, and optimizers. Features such as early stopping, object weighting, and MobileNet cut-point adjustment enable the creation of highly specialized models tailored to their unique project requirements.