ultralytics 8.0.148 fix SettingsManager empty YAML bug (#4180)

This commit is contained in:
Glenn Jocher
2023-08-05 16:13:29 +02:00
committed by GitHub
parent a9fb8b239b
commit 038558cfab
7 changed files with 50 additions and 38 deletions

View File

@ -571,7 +571,7 @@ You can use the `plot()` method of a `Result` objects to visualize predictions.
# Show the results
for r in results:
im_array = r.plot() # plot a BGR numpy array of predictions
im = Image.fromarray(im[..., ::-1]) # RGB PIL image
im = Image.fromarray(im_array[..., ::-1]) # RGB PIL image
im.show() # show image
im.save('results.jpg') # save image
```