i’m using google colab (DISTRIB_DESCRIPTION=“Ubuntu 22.04.3 LTS”, Python 3.10.12
when i tried to install edge impulse following the installation described here: https://docs.edgeimpulse.com/docs/tools/edge-impulse-cli/cli-installation
when i enter this command :!edge-impulse-linux-runner --download modelfile.eim
i get the following error:
/bin/bash: line 1: edge-impulse-linux-runner: command not found
before that when i tried to install edge impulse-cli i get
output of :
!node -v
!npm -v
v20.17.0
10.8.2
!npm config get prefix
/usr
thank you to your reply.
i tried to uinstall and install edge-impulse-cli but nothing is changed.
this the output of this command (ls $(npm config get prefix)/bin):
corepack edge-impulse-data-forwarder edge-impulse-uploader node edge-impulse-blocks edge-impulse-framebuffer2jpg eta-flash-tool npm edge-impulse-daemon edge-impulse-run-impulse himax-flash-tool npx
i tried this but nothing is changed:
!export ‘PATH=$PATH:$(npm config get prefix)/bin’ >> ~/.profile
which added edge-impulse-linux-runner in the global npm installation path.
edge-impulse-blocks renice
edge-impulse-camera-debug reset
edge-impulse-daemon resizepart
edge-impulse-data-forwarder resolvectl
edge-impulse-framebuffer2jpg rev
edge-impulse-linux rgrep
edge-impulse-linux-runner rlogin
edge-impulse-run-impulse rm
edge-impulse-uploader rmdir
but it appear an error when i tried to run the object-counting-using-fomo.ipynb project (in video section)
the error in model_info = runner.init()
Exec format error: ‘/content/drive/MyDrive/Colab Notebooks/Untitled folder/object-counting-test-linux-aarch64-v9.eim’
(i change the permission of .eim modelfile using !chmod +x object-counting-test-linux-aarch64-v9.eim)