MindSpore Earth Installation
System Environment Information Confirmation
The hardware platform should be Ascend, GPU.
See our MindSpore Installation Guide to install MindSpore.
All other dependencies are included in requirements.txt.
Installation
You can install MindSpore Earth either by pip or by source code.
Installation by pip
# gpu and ascend are supported
export DEVICE_NAME=gpu
pip install mindearth_${DEVICE_NAME}
Installation by Source Code
Download source code from Gitee.
git clone https://gitee.com/mindspore/mindscience.git cd {PATH}/mindscience/MindEarth
Compile in Ascend backend.
bash build.sh -e ascend -j8
Compile in GPU backend.
export CUDA_PATH={your_cuda_path} bash build.sh -e GPU -j8
Install the compiled .whl file.
cd {PATH}/mindscience/MindEarth/output pip install mindearth_*.whl
Installation Verification
Successfully installed, if there is no error message such as No module named 'mindearth'
when execute the following command:
python -c 'import mindearth'