提交 78a01f0e 编写于 作者: C chenjian

Merge branch 'add_seeinthedark_module' of...

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