未验证 提交 f50770bc 编写于 作者: W wuzewu 提交者: GitHub

Merge branch 'develop' into add_EnlightenGAN_module

......@@ -53,7 +53,7 @@
```
- 通过命令行方式实现多目标追踪模型的调用,更多请见 [PaddleHub命令行指令](../../../../docs/docs_ch/tutorial/cmd_usage.rst)
- ### 2、代码示例
- ### 2、预测代码示例
- ```python
import paddlehub as hub
......
......@@ -41,7 +41,8 @@ class StreamTracker(object):
self.optimizer = None
# build model
self.model = create(cfg.architecture)
with paddle.no_grad():
self.model = create(cfg.architecture)
self.status = {}
self.start_epoch = 0
......
......@@ -55,7 +55,7 @@
```
- 通过命令行方式实现多目标追踪模型的调用,更多请见 [PaddleHub命令行指令](../../../../docs/docs_ch/tutorial/cmd_usage.rst)
- ### 2、代码示例
- ### 2、预测代码示例
- ```python
import paddlehub as hub
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册