adapt scale to have comparable recall

This commit is contained in:
Lorenzo 2021-04-22 16:33:57 +02:00
parent 7ac6855af4
commit 6e37001726

View File

@ -233,7 +233,8 @@ def save_txts(path_txt, all_inputs, all_outputs, all_params, net='monoloco', cat
if net in ('monstereo', 'monoloco_pp'):
alpha, ry = float(yaws[0][idx]), float(yaws[1][idx])
hwl = [float(hs[idx]), float(ws[idx]), float(ls[idx])]
conf_scale = 0.035 # scale to obtain (approximately) same recall at evaluation
# scale to obtain (approximately) same recall at evaluation
conf_scale = 0.035 if net == 'monoloco_pp' else 0.033
else:
alpha, ry, hwl = -10., -10., [0, 0, 0]
conf_scale = 0.05