The machine learning environment configuration on Linux systems is slightly different from that on Windows. The details are as follows:
Basic Hardware Configuration Recommendation
- CPU memory requirement: At least 16GB;
- GPU model requirement: NVIDIA CUDA compute capability sm7.5 to sm9.0 (NVIDIA GeForce 20 series, 30 series, 40 series);
- GPU driver requirement: The latest driver for the device's graphics card (if it cannot be updated automatically, it can be downloaded from the NVIDIA official website at: https://www.nvidia.cn/Download/index.aspx?lang=cn);
- Deep learning dedicated graphics card requirement: At least 8GB.
Operating System Requirement
- Linux x86_64 (GNU libx 2.29 or higher).
Configure Resource Environment
-
To use the 3D AI functions, you need to download the AI_3D extension package. The download address is: https://support.supermap.com/DownloadCenter/ProductPlatform.aspx.
-
After downloading the SuperMap iDesktopX AI_3D extension package, extract it to the local computer. The AI_3D extension package provides the environment dependency libraries, machine learning resources, and environment configuration instructions for the 3D AI functions. The details are as follows:
-
Miniforge: A folder containing the AI Python interface and its required dependencies, pre-installed with the libraries needed for the 3D AI functions. After downloading and configuring it as the compilation environment, it can be used;
-
resources_ml_3D: The 3D AI function resource package, containing all model configuration files required for the 3D AI functions;
-
setconda.sh: The mandatory environment configuration script for the Linux environment;
-
Extension_AI_3D User Guide: The user guide document for the 3D AI functions.
-
- Place the resources_ml_3D in the root directory of the SuperMap iDesktopX installation, and place Miniforge and setconda.sh into the SuperMap iDesktopX installation root directory/support folder.
- Open a terminal in the SuperMap iDesktopX installation root directory/support folder and execute the following command. After execution, the relative path information will be output in the terminal.
./setconda.sh
Configure Python Environment
- Open SuperMap iDesktopX, click the Start -> Browse -> Python button, and on the left toolbar of the Python window, click the Python Environment Management button.
- In the Python Environment Management dialog box, select SuperMap iDesktopX product package/Miniforge/bin/python3.10 and SuperMap iDesktopX product package/Miniforge/bin/conda as the Python path and Conda path, click the OK button, and restart the Python environment.
Related Content
3D AI Function Environment Configuration
AI and Machine Learning Overview