Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 733 Bytes

megengine_example.md

File metadata and controls

27 lines (23 loc) · 733 Bytes
template title summary author tags github-link
hub1
ResNet
en_US zh_CN
Deep residual networks pre-trained on ImageNet
深度残差网络(ImageNet 预训练权重)
MegEngine Team
vision
classification
import megengine.hub
model = megengine.hub.load('megengine/models', 'resnet18', pretrained=True)
# or any of these variants
# model = megengine.hub.load('megengine/models', 'resnet34', pretrained=True)
# model = megengine.hub.load('megengine/models', 'resnet50', pretrained=True)
# model = megengine.hub.load('megengine/models', 'resnet101', pretrained=True)
model.eval()

中文文档

English Doc