You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.
hi,
i use your code to evaluate my result and i noticed that there is a bug,
when i use iou function sometimes the intersection between the gt-poly to the pred-poly return GEOMETRYCOLLECTION and in this case the code fail and give score 0.
i add this lines if its interesting you:
elif intersection_result.GetGeometryName() == 'GEOMETRYCOLLECTION':
maxlist = []
for geoCol in intersection_result:
if geoCol.GetGeometryName() == 'POLYGON' or \
geoCol.GetGeometryName() == 'MULTIPOLYGON':
intersection_area = geoCol.GetArea()
union_area = test_poly.Union(truth_polys[fid]).GetArea()
maxlist.append(intersection_area / union_area)
iou_list.append(np.max(maxlist))
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi,
i use your code to evaluate my result and i noticed that there is a bug,
when i use iou function sometimes the intersection between the gt-poly to the pred-poly return GEOMETRYCOLLECTION and in this case the code fail and give score 0.
i add this lines if its interesting you:
The text was updated successfully, but these errors were encountered: