megengine.hub¶
查询/使用预训练模型¶
Lists all entrypoints available in repo hubconf. |
|
Loads model from github or gitlab repo, with pretrained weights. |
|
This function returns docstring of entrypoint |
|
Loads MegEngine serialized object from the given URL. |
|
Decorator which helps to download pretrained weights from the given url. |
|
Imports hubmodule like python import. |
Fetcher¶
Decorator. |
|
Tools¶
Loads module specified by name and path. |
|
Checks whether python module exists or not. |
|
Changes current directory to target. |
异常处理¶
Base class for fetch related error. |
|
A git checkout error occurred. |
|
A git pull error occurred. |
|
The git host provided was somehow invalid. |
|
The protocol provided was somehow invalid. |
|
The repo provided was somehow invalid. |