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:
@ -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
|
||||
|
Reference in New Issue
Block a user