original-label-> information
This commit is contained in:
1 parent
5009831c7c
commit
96c00fa941
5 files changed
+81
No files matched your search
@@ -324,6 +324,10 @@ def compose_label_image(base_img, label, result, hmin,
|
||||
if error == "empty-answer" and not with_empty:
|
||||
return None, 0
|
||||
|
||||
origins = result.get("content_origins", [])
|
||||
if origins:
|
||||
error = " ".join([error, *(f"{origin}->" for origin in origins)]).strip()
|
||||
|
||||
|
||||
# Filter deleted items (used by reading_annotations.py)
|
||||
feedbacks = [f for f in feedbacks if "to_delete" not in f]
|
||||
|
||||
Reference in new issue
Block a user