From 2f6778c2db9ce1a887f04fdc85ad0d5db4ba84b8 Mon Sep 17 00:00:00 2001 From: natanielruiz <nruiz9@gatech.edu> Date: 星期一, 30 十月 2017 06:15:30 +0800 Subject: [PATCH] Cleaned up a bit --- code/test_AFW_preangles.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/test_AFW_preangles.py b/code/test_AFW_preangles.py index 3dae2e8..3754706 100644 --- a/code/test_AFW_preangles.py +++ b/code/test_AFW_preangles.py @@ -109,9 +109,9 @@ _, roll_bpred = torch.max(roll.data, 1) # Continuous predictions - yaw_predicted = utils.softmax_temperature(yaw.data, 0.85) - pitch_predicted = utils.softmax_temperature(pitch.data, 0.8) - roll_predicted = utils.softmax_temperature(roll.data, 0.8) + yaw_predicted = utils.softmax_temperature(yaw.data, 0.1) + pitch_predicted = utils.softmax_temperature(pitch.data, 1) + roll_predicted = utils.softmax_temperature(roll.data, 1) yaw_predicted = torch.sum(yaw_predicted * idx_tensor, 1).cpu() * 3 - 99 pitch_predicted = torch.sum(pitch_predicted * idx_tensor, 1).cpu() * 3 - 99 -- Gitblit v1.8.0