Skip to content

Commit

Permalink
Update dataquality/utils/semantic_segmentation/errors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott authored May 22, 2023
1 parent 004e97d commit b0be115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataquality/utils/semantic_segmentation/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def calculate_dep_polygons_batch(

for idx in range(len(resized_dep_maps)):
dep_map = resized_dep_maps[idx]
gold_polygons = polygons_batch[idx]
for polygon in gold_polygons:
polygons = polygons_batch[idx]
for polygon in polygons:
polygon_img = draw_polygon(polygon, dep_map.shape)
polygon.data_error_potential = calculate_dep_polygon(dep_map, polygon_img)

0 comments on commit b0be115

Please sign in to comment.