tusen-ai / simpledet

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

Fixed Bug: json_to_roidb.py has no attribute 'json' and test_loader.py has no num_thread #247

Closed xiaosongshine closed 4 years ago

xiaosongshine commented 4 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 4 years ago

Merged thx.