Question/Issue:
I’m using the Edge Impulse SDK in jupyter notebook.
I can deploy Arduino and success. But failed in the nRF52840-DK and nRF5340-DK.
Here is the python code for deploy model:
try:
ei.model.deploy(model=model,
model_output_type=ei.model.output_type.Classification(),
deploy_target = 'nordic-nrf52840-dk',
output_directory=".")
except Exception as e:
print(f"Could not deploy: {e}")
following is the error prompt:
WARNING:absl:Found untraced functions such as _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op while saving (showing 3 of 3). These functions will not be directly callable after loading.
INFO:tensorflow:Assets written to: C:\Users\ADMINI~1\AppData\Local\Temp\tmpj_cp9jyc\saved_model\assets
INFO:tensorflow:Assets written to: C:\Users\ADMINI~1\AppData\Local\Temp\tmpj_cp9jyc\saved_model\assets
Could not deploy: deploy_target: [nordic-nrf52840-dk] not in [‘zip’, ‘arduino’, ‘cubemx’, ‘wasm’, ‘wasm-browser-simd’, ‘tensorrt’, ‘ethos’, ‘synaptics-tensaiflow-lib’, ‘meta-tf’, ‘memryx-dfp’, ‘tidl-lib-am62a’, ‘tidl-lib-am68a’, ‘slcc’, ‘arduino-nano-33-ble-sense’, ‘arduino-nicla-vision’, ‘espressif-esp32’, ‘raspberry-pi-rp2040’, ‘silabs-xg24’, ‘infineon-cy8ckit-062s2’, ‘infineon-cy8ckit-062-ble’, ‘nordic-thingy53’, ‘nordic-thingy53-nrf7002eb’, ‘sony-spresense-commonsense’, ‘renesas-ck-ra6m5’, ‘brickml’, ‘brickml-module’, ‘runner-linux-aarch64’, ‘runner-linux-armv7’, ‘runner-linux-x86_64’, ‘runner-linux-aarch64-akd1000’, ‘runner-linux-x86_64-akd1000’, ‘runner-mac-x86_64’, ‘runner-linux-aarch64-tda4vm’, ‘runner-linux-aarch64-am62a’, ‘particle’, ‘iar’, ‘runner-linux-aarch64-am68a’]
It seems the board not support, however, when I check the available device by using this code:
ei.model.list_deployment_targets()
It show many devices in list and include nRF52840-DK and nRF5340-DK.
BTW, the board is PCA10056/2.0.2/2021.41