Update localization_log_gamma_model.py

This commit is contained in:
HappyZ 2019-06-05 23:35:07 -05:00
parent 2604babc9f
commit c1889cf7cb
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def fittingSingle(filepath, args):
if len(data) is 2: if len(data) is 2:
data, location_gt_tmp = data data, location_gt_tmp = data
if location_gt_tmp is not None: if location_gt_tmp is not None:
location_gt = location_gt_tmp * 0.1 location_gt = [location_gt_tmp[0] * 0.1, location_gt_tmp[1] * 0.1]
if args.only_true_loc and location_gt_tmp is None: if args.only_true_loc and location_gt_tmp is None:
print("skipped as no groundtruth") print("skipped as no groundtruth")
return return