help

paddle.hub. help ( repo_dir, model, source='github', force_reload=False ) [source]

Show help information of model

Parameters
  • repo_dir (str) –

    github or local path github path (str): a str with format “repo_owner/repo_name[:tag_name]” with an optional

    System Message: ERROR/3 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 5)

    Unexpected indentation.

    tag/branch. The default branch is main if not specified.

    System Message: WARNING/2 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 6)

    Block quote ends without a blank line; unexpected unindent.

    local path (str): local repo path

  • model (str) – model name

  • source (str) – github | gitee | local, default is github

  • force_reload (bool, optional) – default is False

Returns

docs

Example

```python import paddle

System Message: WARNING/2 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 19); backlink

Inline literal start-string without end-string.

System Message: WARNING/2 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 19); backlink

Inline interpreted text or phrase reference start-string without end-string.

paddle.hub.help(‘lyuwenyu/paddlehub_demo:main’, model=’MM’, source=’github’) ```

System Message: WARNING/2 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 22); backlink

Inline literal start-string without end-string.

System Message: WARNING/2 (/usr/local/lib/python3.8/site-packages/paddle/hapi/hub.py:docstring of paddle.hapi.hub.help, line 22); backlink

Inline interpreted text or phrase reference start-string without end-string.