Skip to content

Commit

Permalink
removed 'id' from batch
Browse files Browse the repository at this point in the history
  • Loading branch information
chwilms authored Feb 22, 2019
1 parent 0f8ee50 commit 588c6db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python_layers/data/boxSelectionLayerMP.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ def fetchNext(self, i,flip,zoom,item):

self.image_path = item.image_path
self.anns = item.imgToAnns
self.id = int(self.image_path.split('_')[-1].split('.')[0])
batch = {'id':i}
batch = {}
batch.update(self.fetch_image())
self.fetch_masks()
self.cal_centers_of_masks_and_bbs()
Expand Down

0 comments on commit 588c6db

Please sign in to comment.