Download and installation of MMEdu library (Python version)

To ensure the smooth operation of the program, the download and installation package of the MMEdu library is provided here.

OpenXLabEdu open source resources: OpenXLabEdu help documentation—OpenXLabEdu documentation

Now the MMEdu one-click installation package has been upgraded to the XEdu one-click installation package. The MMEdu file mentioned below should be understood as the XEdu one-click installation package.

Step 1: Download the latest version of MMEdu (XEdu) and install it locally. Double-click the exe file. After selecting the installation path, click Extract. The XEdu folder will be automatically generated after installation. The directory structure in the folder is as shown below.../_images/XEDU%E5%AE%89%E8%A3%85%E5%9B%BE11.png

 1) Download method (i.e. XEdu download method)

Feishu Netdisk: Docs

Baidu Netdisk: Please enter the extraction code for Baidu Netdisk.  Extraction code: 2022

Step 2: You can choose the IDE you are used to based on your personal preferences.

2) Use Thonny that comes with MMEdu (XEdu).

Thonny is an easy-to-use lightweight IDE for Python. Its two most prominent features are simplicity and interactivity. Open the Thonny.bat file shortcut in the root directory to open it. Use Thonny to open the py file in the "demo" folder, such as "MMEdu_cls_demo.py", and click "Run file as script" in "Run" to run the code.

3) Use Jupyter that comes with MMEdu (XEdu).

Jupyter Notebook is a web-based application for interactive computing. It can be applied to the entire computing process: development, documentation, running code, and displaying results. It is relatively simple and more user-friendly, suitable for beginners. Open "jupyter editor.bat" in the root directory, which will automatically start the browser and display the interface.

print("hello")Use the common toolbar to operate the code, such as "Run". You can write text or code in the cell (as shown below where the code is written ), and the results of executing the code will also be presented below each cell. You can run cells one by one, with each click running only one cell. The asterisk in [*] on the left side of the cell changes to a number, indicating that the cell is completed. At this time, you can open the ipynb file in the "demo" folder, such as "cls_notebook.ipynb".

3) Use another IDE.

If you need to use another IDE, you need to configure the Python compiler yourself. The configuration method is as follows.

  • Configure environment path

①Open your IDE, such as PyCharm, Thonny, etc.

② Configure the Python compiler. The path is the "python.exe" file in the "mmedu" folder under the "MMEdu" folder under the decompression path.

  • Execute demo file

Use IDE to open the py file in the decompression path, such as "cls_demo.py", and click "Run". The running effect should be the same as pyzo.

4) Use cmd to install the user library.

pip, the most commonly used library management tool in Python, can be run using the cmd command line. Open "Start cmd.bat" in the root directory to open the cmd command line interface.

Just enter the library file you want to install, such as "pip install rarfile".

After September 2022, the MMEdu one-click installation package will no longer be maintained and will be uniformly updated to XEdu. XEdu was officially released at the World Artificial Intelligence Conference in September 22. It is divided into three functional modules: MMEdu, BaseML, and BaseNN. In addition to the one-click installation package, it can also be installed via pip.  likepip install BaseML BaseNN BaseDT BaseDeploy MMEdu

一键安装包到此就安装完成啦!

如有问题,请咨询上海人工智能实验室邱奕盛老师,地址:上海市徐汇区云锦路701号AI Tower(西岸智塔)东塔37层上海人工智能实验室。


The content of this article is compiled by the editor myself. There may be errors or omissions in the content. Thank you for your suggestions!

Remember to like and follow~

Guess you like

Origin blog.csdn.net/zyl_coder/article/details/132483865