Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjuleee committed Aug 26, 2024
1 parent 00c44de commit d4568f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _get_unique_key(results: Dict[str, Any]) -> Tuple:
if "cache_key" in results:
return results["cache_key"]
d_item = results["dataset_item"]
if d_item.media.path: # when video extracted frames come, media.path is given by None
if d_item.media.path: # when video extracted frames come, media.path is None
results["cache_key"] = d_item.media.path, d_item.roi.id
else:
results["cache_key"] = d_item.roi.id, d_item.annotation_scene.annotations[0].id
Expand Down

0 comments on commit d4568f8

Please sign in to comment.