cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
597 stars 255 forks source link

attributes bug fix #100

Open audais opened 6 years ago

audais commented 6 years ago

According to our conversation before :

Thank you Audai! Can you send a pull request on Github and I will merge it? Carl

On Mon, Jan 23, 2017 at 5:59 AM Audai Shmalih audai.shmalih@viisights.com wrote: Hi Carl,

I'm using your amazing Vatic system, and I found a bug when you have attributes and want to export the annotaions in json format it's failed! I fixed the bug by doing some changes in vatic/cli.py change the line 683: boxdata['attributes'] = box.attributes

to boxdata['attributes'] = [] for attr in box.attributes: boxdata['attributes'].append(attr.text)