"test/vscode:/vscode.git/clone" did not exist on "a4d6d6f1ddc9f15bfa904e7e286e3f5ba4ba5a50"
Unverified Commit 59e29be3 authored by Spacefish's avatar Spacefish Committed by GitHub
Browse files

object-detection instead of object_detection (#19677)

parent aa629e7a
......@@ -134,7 +134,7 @@ Many tasks have a pre-trained `pipeline` ready to go, in NLP but also in compute
>>> image = Image.open(image_data)
# Allocate a pipeline for object detection
>>> object_detector = pipeline('object_detection')
>>> object_detector = pipeline('object-detection')
>>> object_detector(image)
[{'score': 0.9982201457023621,
'label': 'remote',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment