Fix variable name from res to results (#22501)
Signed-off-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
This commit is contained in:
parent
0d709d84a1
commit
43ff46d760
@ -53,7 +53,7 @@ After performing the [Segment Task](../tasks/segment.md), it's sometimes desirab
|
||||
import numpy as np
|
||||
|
||||
# (2) Iterate detection results (helpful for multiple images)
|
||||
for r in res:
|
||||
for r in results:
|
||||
img = np.copy(r.orig_img)
|
||||
img_name = Path(r.path).stem # source image base-name
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user