- create python 3.8 environment
conda create -n sparseinst-ms python=3.8
- activate the new environment
conda activate sparseinst-ms
- install mindspore
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.8.1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.8.1-cp38-cp38-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
- install dependencies
pip install mindvision pycocotools opencv-python numpy yacs
We provide the basic SparseInst-R50-GIAM in BaiduPan.
python test.py --config /path/to/your/checkpoint --image_name /path/to/your/image --visualize
The results will be saved in ./image_name/