Skip to content

Instantly share code, notes, and snippets.

@tengpeng
Created April 10, 2016 15:29
Show Gist options
  • Save tengpeng/6a87a7a01c05f82b021c54499787f5be to your computer and use it in GitHub Desktop.
Save tengpeng/6a87a7a01c05f82b021c54499787f5be to your computer and use it in GitHub Desktop.
mark location2
bid_loc = defaultdict(list)
i = 0
for key, value in bid_img.iteritems():
for v in value:
bid_loc[key].append(idx[i])
i += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment