Skip to content

Commit

Permalink
fix (COCO export): add flick_url attribute (#82)
Browse files Browse the repository at this point in the history
fix: add flick_url field
  • Loading branch information
Gorkem-Encord authored Jan 11, 2023
1 parent e5bcb43 commit 799455e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/encord_active/lib/coco/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def get_image(self, label_hash: str, data_unit: dict) -> dict:
self._data_hash_to_image_id_map[(data_hash, 0)] = image_id
return {
"coco_url": data_unit["data_link"],
"flickr_url": "",
"id": image_id,
"image_title": data_unit["data_title"],
"file_name": self.get_file_name_and_download_image(label_hash, data_unit),
Expand Down

0 comments on commit 799455e

Please sign in to comment.