From c495a0f6b13b794bab9f6e3423d5038ce645d816 Mon Sep 17 00:00:00 2001 From: natanielruiz <nataniel777@hotmail.com> Date: 星期三, 13 九月 2017 21:12:59 +0800 Subject: [PATCH] Batch testing and hopenet training complete --- code/test_on_video.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code/test_on_video.py b/code/test_on_video.py index b410ea7..8d6c5fd 100644 --- a/code/test_on_video.py +++ b/code/test_on_video.py @@ -141,7 +141,7 @@ img_shape = img.size() img = img.view(1, img_shape[0], img_shape[1], img_shape[2]) img = Variable(img).cuda(gpu) - yaw, pitch, roll = model(img) + yaw, pitch, roll, angles = model(img) yaw_predicted = F.softmax(yaw) pitch_predicted = F.softmax(pitch) -- Gitblit v1.8.0