-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
If you input image with clicked coordinates, I found the app throw an error. The error is caused by two masks has different size when computing IOU,.
It cause by the code in app.py:
# about line 161-165
w, h = pil_image.size
#if w > 800:
# pil_image.thumbnail((800, 800*h/w))
# input_image.thumbnail((800, 800*h/w))
# coords = str(int(int(coords.split(',')[0]) * 800 / w)) + ',' + str(int(int(coords.split(',')[1]) * 800 / w))comment thumbnail methods fix this issue but not sure I should do this.
Metadata
Metadata
Assignees
Labels
No labels