tusen-ai / simpledet

A Simple and Versatile Framework for Object Detection and Instance Recognition
Apache License 2.0
3.08k stars 488 forks source link

[BUG] Bug in json_to_roidb.py and fixed #245

Closed xiaosongshine closed 5 years ago

xiaosongshine commented 5 years ago

Describe the bug A clear and concise description of what the bug is. code in line 12-13

 parser.parse_args()
 return parser.json

are supossed to be change into

arg = parser.parse_args()
return arg.json

or you wil get

AttributeError: 'ArgumentParser' object has no attribute 'json'

RogerChern commented 5 years ago

Thanks for bringing this up. Would you mind make a PR?

xiaosongshine commented 5 years ago

Thanks for bringing this up. Would you mind make a PR?

Ok, I will do it later..

xiaosongshine commented 5 years ago

This bug has fixed by pr