未验证 提交 c40b9df0 编写于 作者: L Lin Han 提交者: GitHub

Fix typo (#2010)

* Fix typo

这个地方多了一个 (

* fix(typo): excessive (
上级 27aa1eab
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
object_detector = hub.Module(name="faster_rcnn_resnet50_coco2017") object_detector = hub.Module(name="faster_rcnn_resnet50_coco2017")
result = object_detector.object_detection(images=[cv2.imread('/PATH/TO/IMAGE')]) result = object_detector.object_detection(images=[cv2.imread('/PATH/TO/IMAGE')])
# or # or
# result = object_detector.object_detection((paths=['/PATH/TO/IMAGE']) # result = object_detector.object_detection(paths=['/PATH/TO/IMAGE'])
``` ```
- ### 3、API - ### 3、API
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
object_detector = hub.Module(name="faster_rcnn_resnet50_coco2017") object_detector = hub.Module(name="faster_rcnn_resnet50_coco2017")
result = object_detector.object_detection(images=[cv2.imread('/PATH/TO/IMAGE')]) result = object_detector.object_detection(images=[cv2.imread('/PATH/TO/IMAGE')])
# or # or
# result = object_detector.object_detection((paths=['/PATH/TO/IMAGE']) # result = object_detector.object_detection(paths=['/PATH/TO/IMAGE'])
``` ```
- ### 3、API - ### 3、API
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册