Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFO] Bypassing Edge AI Cloud - To create an account, go to https://stedgeai-dc.st.com/home. Enter your credentials: #53

Open
Raulpb49 opened this issue Jan 16, 2025 · 8 comments

Comments

@Raulpb49
Copy link

How to use stedgeai on PC instead of stedgeaicloud? I see this is coming somewhere form the \stm32ai-modelzoo-services\common\stm32ai_dc\backend\cloud . Is it possible to by pass the cloud logging and use the local edgeai?

I dont want to use the ST Edge AI Cloud.

Best,
R

@LFOSTM
Copy link

LFOSTM commented Jan 16, 2025

Hello,
You can deploy your model locally specifying on_cloud : False in the yaml file.
May I ask why you don't want to use the ST Edge AI Cloud?
Regards,
Laurent

@Raulpb49
Copy link
Author

Raulpb49 commented Jan 16, 2025 via email

@Shahnawax
Copy link
Contributor

@Raulpb49 can you try few things.

  • add ssl_verify:false and no_ssl_verify:1 in your environment variables.

  • use the http://username:password@proxy.com:port string for both http and https proxies

  • make sure your credentials for stmai_username and stmai_password are upto date by logging in to the webpage through a web browser https://stedgeai-dc.st.com/home

  • Finally, log off and log on to make sure that the latest environment variable changes are taken into account.

  • Alternatively, you can check with your IT to understand what is the issue with proxy verification and use the local installation in the meanwhile by just providing the correct path in the variable path_to_stedgeai and setting the on_cloud variable to False.

NOTE: You do not need to encode the passwords for the myST account but you need to encode the password for your proxy account in your proxy strings. For example a password 123&st has to be written as 123%26st in the proxy string.

I hope this solves the issue.

@Raulpb49
Copy link
Author

Raulpb49 commented Jan 20, 2025 via email

@Shahnawax
Copy link
Contributor

That is true, functionality wise there is no difference. The benefit of using the dev cloud is that you can benchmark on different boards without actually having the boards in hand. However, for generating the code, and doing the deployment, local vs dev cloud will provide the same outcome.

@Raulpb49
Copy link
Author

Thanks @Shahnawax
Understood. Anyway, the cloud one I can use from the web which I think is working fine. I will use it to benchmark on different platform.
I also have one question related to ST Edge AI Core installation: While installing the ST Edge AI core on windows, I have to manually browse the en.n6-ai-getstarted-v1.0.0.zip package on windows.
Now I am on headless Ubuntu setup with no access to GUI, is it possible to install the edge AI core on Ubuntu by providing this .zip package as option to browse or I need to have a GUI interface enabled to select it and proceed for installation mandatorily?
Regards,

@Shahnawax
Copy link
Contributor

@Raulpb49 you are welcome.

The installer supports headless mode also. Download the online installer for linux and the zip for STM32N6***neuralart extract the contents and then try something like:

./stedgeai-linux-onlineinstaller install stedgeai0200.stneuralart

You can find the documentation here:

https://stedgeai-dc.st.com/assets/embedded-docs/modular_installer.html

@Raulpb49
Copy link
Author

Raulpb49 commented Jan 21, 2025

Hello @Shahnawax ,
Updating the comment:
It worked as you suggested! Thanks a lot again!
I just have to give the path of the package(zip) as well
sudo ./stedgeai-linux-onlineinstaller install stedgeai0200.stneuralart stneuralartpkg=/Path-to/en.stedgeai-stneuralart-10.0.0.zip
You can close this thread if you want.
Regards,
R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants