Skip to content

Commit

Permalink
Remove unused method: append_data()
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedka committed Sep 28, 2018
1 parent 64020bd commit a49160a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mrcnn/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,17 +340,6 @@ def get_source_class_id(self, class_id, source):
assert info['source'] == source
return info['id']

def append_data(self, class_info, image_info):
self.external_to_class_id = {}
for i, c in enumerate(self.class_info):
for ds, id in c["map"]:
self.external_to_class_id[ds + str(id)] = i

# Map external image IDs to internal ones.
self.external_to_image_id = {}
for i, info in enumerate(self.image_info):
self.external_to_image_id[info["ds"] + str(info["id"])] = i

@property
def image_ids(self):
return self._image_ids
Expand Down

0 comments on commit a49160a

Please sign in to comment.