In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to install Pycharm tools that call the ModelArts platform locally". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Hand-in-hand to teach you to install local calls to the ModelArts platform
Pycharm tool
Since AI developers use PyCharm tools to develop algorithms or models, to facilitate and quickly submit local codes to the public cloud training environment, ModelArts provides a PyCharm plug-in tool, PyCharm ToolKit, to help users upload codes, submit training assignments, and obtain training logs for local display. Users only need to focus on local code development.
Install Pycharm tools that locally call the ModelArts platform
Experimental process
1. Download and install PyCharm ToolKit
two。 Create an access key on Huawei Cloud's cloud
3. Log in using the access key at the local Pycharm
Install Pycharm tools that locally call the ModelArts platform
Matters needing attention
1. Currently, only PyCharm 2019.2 and above are supported.
two。 Currently, only Windows and Linux operating systems are supported.
After confirming that your above configuration information is correct, you can proceed with the operation steps.
one
1.1 download PyCharm ToolKit
The ToolKit toolkit is integrated into the ModelArts Management console, and the download link for the ToolKit tool is as follows:
Https://modelarts-pycharm-plugin.obs.cn-north-1.myhuaweicloud.com/Pycharm-ToolKit-PC-2019.2-HEC-1.3.0.zip
Or reply to the "toolkit" at the background to get the download link:
1.2 install ToolKit tools in PyCharm
Open the local Pycharm tool:
In the PyCharm tool
Select "File- > Settings" in the menu bar:
Pop up the "Settings" dialog box:
In the "Settings" dialog box, first click "Plugins" in the left navigation bar, then click the settings icon on the right, select "Install Plugin from Disk", and pop up the file selection dialog box:
In the pop-up dialog box, select the toolkit for ToolKit from the local directory, and then click OK.
The interface will automatically jump to the "Installed" page
Click "Restart IDE" to restart PyCharm:
In the pop-up confirmation dialog box, click "Restart" to start the restart:
After a successful restart, when the "ModelArts" tab appears on the PyCharm toolbar, the installation of the ToolKit tool is complete:
two
two。 Create an access key on Huawei Cloud's cloud
First of all, you need to go to Huawei Cloud's official website.
Https://www.huaweicloud.com/
Click "console" on the page to switch to the console interface, and click "my credentials" in the drop-down menu of the account name to enter the interface for creating an administrative access key (AK/SK). The location is shown in the following figure:
What is an access key?
The access key, namely AK/SK (Access Key ID/Secret Access Key), is your identity certificate when you access Huawei Cloud through development tools (API, CLI, SDK). You cannot log in to the console. The system identifies the identity of the visiting user through AK, verifies the signature through SK, and ensures the confidentiality and integrity of the request and the correctness of the identity of the requester through encrypted signature verification.
Select access key and click add access key
Properly save AK (Access Key Id) and SK (Secret Access Key) in the "credentials.csv" file downloaded automatically by the system for use in the next steps.
three
3. Log in using the access key at the local Pycharm
Open the local Pycharm tool and select the "ModelArts" tab:
Select the region to use and fill in the AK (Access Key Id) and SK (Secret Access Key) keys in the "credentials.csv" file obtained in step 2
After filling it out:
Select the "OK" button, and if the installation is successful, it will look like this:
You can call Huawei Cloud's cloud resources on the local Pycharm:
So far, all the experiments have been completed.
This is the end of the content of "how to install Pycharm tools that call the ModelArts platform locally". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 290
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.