ultralytics 8.0.11 bug fixes and performance improvements (#495)
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a86218b767
commit
6eec39162a
8 changed files with 51 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ Inference or prediction of a task returns a list of `Results` objects. Alternati
|
|||
=== "Getting a Generator"
|
||||
```python
|
||||
inputs = [img, img] # list of np arrays
|
||||
results = model(inputs, stream="True") # Generator of Results objects
|
||||
results = model(inputs, stream=True) # Generator of Results objects
|
||||
for result in results:
|
||||
boxes = results.boxes # Boxes object for bbox outputs
|
||||
masks = results.masks # Masks object for segmenation masks outputs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue