MindSpore Hub is a pre-trained model application tool of the MindSpore ecosystem, serving as a channel for model developers and application developers.
Current pre-trained models in MindSpore Hub mainly cover four mainstream task scenarios including image classification, object detection, semantic segmentation and recommendation. You can check more models in MindSpore Hub Website.
Version | Operating System | Executable File Installation Dependencies | Source Code Compilation and Installation Dependencies |
---|---|---|---|
MindSpore Hub master | - Ubuntu 18.04 x86_64 - Ubuntu 18.04 aarch64 - EulerOS 2.8 aarch64 - EulerOS 2.5 x86_64 |
- Python 3.7.5 - MindSpore master - For details about other dependency items, see setup.py. |
Same as the executable file installation dependencies. |
setup.py
file are automatically downloaded during .whl package installation. In other cases, you need to manually install dependency items.Download source code from Gitee.
git clone https://gitee.com/mindspore/hub.git
Compile and install in MindSpore Hub directory.
cd hub
python setup.py install
Install MindSpore Hub using pip
command. hub
depends on the MindSpore version used in current environment.
Please download whl package from MindSpore Hub download page.
pip install mindspore_hub-{version}-py3-none-any.whl
Run the following command in a network-enabled environment to verify the installation.
import mindspore_hub as mshub
model = mshub.load("mindspore/ascend/0.7/googlenet_v1_cifar10", num_classes=10)
See the Loading the Model from Hub to implement model loading and fine-tuning.
For more information about installation guide, tutorials and APIs, please check out the Loading the Model from Hub and Publishing Models using MindSpore Hub.
As one part of MindSpore community, the following information in MindSpore Hub including governance, communication and contributing is consistent with the content in MindSpore community.
Check out how MindSpore Open Governance works.
#mindspore
(only for meeting minutes logging purpose)Welcome contributions. See our Contributor Wiki for more details。
The release notes, see our RELEASE。
SSL: CERTIFICATE_VERIFY_FAILED
occurs?import ssl
ssl._create_default_https_context = ssl._create_unverified_context
import mindspore_hub as mshub
model = mshub.load("mindspore/ascend/0.7/googlenet_v1_cifar10", num_classes=10)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。