thodan / bop_toolkit

A Python toolkit of the BOP benchmark for 6D object pose estimation.
http://bop.felk.cvut.cz
MIT License
376 stars 135 forks source link

Bug report of eval_calc_errors.py #111

Open Bear-kai opened 6 months ago

Bear-kai commented 6 months ago

In the script, bool(args.vsd_normalized_by_diameter) can be replaced by eval(str(args.vsd_normalized_by_diameter)), since bool('True') and bool('False') are both True. The 'str()' operation here handles the case where args.vsd_normalized_by_diameter==True and eval(True) will break off the program. The same to bool(args.skip_missing).