Skip to main content
Visitor
June 26, 2026
Question

STM32Cube AI Studio (INTERNAL ERROR: File is not a zip file)

  • June 26, 2026
  • 0 replies
  • 9 views

I try to use my own model which build form python and keras, however when I import the model to the tool it have error as follow:

>>> C:\ST\STEdgeAI\4.0\Utilities\windows\stedgeai.exe validate --model C:\Users\user\Documents\battery_model_MLP.keras --batch-size 10 --mode host --name network --verbosity 1 --c-api st-ai --optimization balanced --target stm32g4 --memory-pool C:\Users\user\.stm32cubeaistudio\workspace\EISv3_SOCSOHpredictor\.ai\run\run-3\.ai\mempools.json --save-csv --workspace C:\Users\user\.stm32cubeaistudio\workspace\EISv3_SOCSOHpredictor\.ai\run\run-3\.ai\st_ai_ws --output C:\Users\user\.stm32cubeaistudio\workspace\EISv3_SOCSOHpredictor\.ai\run\run-3\.ai\st_ai_output
ST Edge AI Core v4.0.1-20581 7ed50de05

INTERNAL ERROR: File is not a zip file

Run failed: Error: validate error: INTERNAL ERROR: File is not a zip file. Please check the report for more details. Output: ST Edge AI Core v4.0.1-20581 7ed50de05
PASS:   0%|          | 0/187 [00:00<?, ?it/s]                                              
INTERNAL ERROR: File is not a zip file
 
anyone has experience to import own model?