Ultralytics Code Refactor https://ultralytics.com/actions (#16940)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
0027e0837c
commit
a622b404ef
19 changed files with 32 additions and 33 deletions
|
|
@ -1117,7 +1117,7 @@ def plot_images(
|
|||
im[y : y + h, x : x + w, :][mask] = (
|
||||
im[y : y + h, x : x + w, :][mask] * 0.4 + np.array(color) * 0.6
|
||||
)
|
||||
except: # noqa E722
|
||||
except Exception:
|
||||
pass
|
||||
annotator.fromarray(im)
|
||||
if not save:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue