Commit 3f635b4d authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 443579431
parent 6a98d040
...@@ -277,12 +277,12 @@ class PanopticQuality: ...@@ -277,12 +277,12 @@ class PanopticQuality:
np.sum(in_category_set.astype(np.int32)), np.sum(in_category_set.astype(np.int32)),
}) })
else: else:
results[category_set_name] = { results.update({
f'{category_set_name}_pq': 0., f'{category_set_name}_pq': 0.,
f'{category_set_name}_sq': 0., f'{category_set_name}_sq': 0.,
f'{category_set_name}_rq': 0., f'{category_set_name}_rq': 0.,
f'{category_set_name}_num_categories': 0 f'{category_set_name}_num_categories': 0
} })
return results return results
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment