Question/Issue:
I am trying to profile a quantized model for the Alif E7 devkit. But each time I get a validation error:
Could not profile: 1 validation error for ProfileResponse
model -> profileInfo -> int8 -> timePerInferenceMs
value is not a valid integer (type=type_error.integer)
I don’t encounter this error when profiling the same model for other devices like the ampiq-apollo5, esp32, cortex-m4f-80mhz, cortex-m7-216mhz.
Only when profiling either the alif-he or alif-hp.
Project ID:
988642
Code:
import edgeimpulse as ei
ei.API_KEY = "ei_..."
try:
profile = ei.model.profile(
model = "birdnet_quantized_split.tflite",
device = "alif-hp"
)
print(profile.summary())
except Exception as e:
print(f"Could not profile: {e}")
Environment:
- OS: windows 11
- edgeimpulse python lib version: v1.0.18
- Python version: 3.11.7
- target device: Alif-hp
Logs/Attachments:
not sure how to attach the .tflite file?