Skip to main content
Associate II
March 27, 2025
Question

NOT IMPLEMENTED: Unsupported layer type: SlicingOpLambda

  • March 27, 2025
  • 1 reply
  • 452 views

I tried to analyzir sample Keras .h5 model with X Cube Ai in cubeMX and I got the error.

 [AI:network] Analyzing model
 [AI:network] /home/anhem/STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-AI/10.0.0/Utilities/linux/stedgeai analyze --target stm32n6 --name network -m /media/anhem/mnt/STM32N6570DK_dev/stm32ai-modelzoo-services-1dc52d8ef939fb7875c6e00e7a6f6311f07c5cb1/stm32ai-modelzoo/object_detection/ssd_mobilenet_v2_fpnlite/ST_pretrainedmodel_public_dataset/coco_2017_person/ssd_mobilenet_v2_fpnlite_035_192/ssd_mobilenet_v2_fpnlite_035_192.h5 --compression none --verbosity 1 --workspace /tmp/mxAI_workspace87065551304011411100299247419582710 --output /home/anhem/.stm32cubemx/network_output
 [AI:network] ST Edge AI Core v2.0.0-20049
 [AI:network] WARNING: Found a Lambda layer in Keras: conversion may fail.
 [AI:network] WARNING: Found a Lambda layer in Keras: conversion may fail.
 [AI:network] WARNING: Found a Lambda layer in Keras: conversion may fail.
 [AI:network] WARNING: Found a Lambda layer in Keras: conversion may fail.
 [AI:network] WARNING: Found a Lambda layer in Keras: conversion may fail.
 [AI:network] 
 [AI:network] NOT IMPLEMENTED: Unsupported layer type: SlicingOpLambda
 [AI:network] Analyze fail on the AI model

Did you encounter this issue and what countermeasure for it?

Thank you.

 

1 reply

Julian E.
Technical Moderator
April 1, 2025

Hello @Anhem ,

 

There is indeed an issue with this model for some reason.
I am investigating this matter.

 

Alternatively, you can select another model or download the already quantized model (that works):

JulianE_0-1743493598255.png

 

Have a good day,

Julian

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
AnhemAuthor
Associate II
April 1, 2025

Hi @Julian E. 

Yes, I tried with other models and it wored.

Thank you.