From 18a21d4b07c581a8954b08518115fb035c712b28 Mon Sep 17 00:00:00 2001
From: natanielruiz <nataniel777@hotmail.com>
Date: 星期二, 08 八月 2017 07:34:09 +0800
Subject: [PATCH] Added new correct cropping for training and smoothing for video.

---
 code/test_resnet_bins.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/code/test_resnet_bins.py b/code/test_resnet_bins.py
index cfc3dc5..00d2109 100644
--- a/code/test_resnet_bins.py
+++ b/code/test_resnet_bins.py
@@ -46,8 +46,11 @@
     gpu = args.gpu_id
     snapshot_path = os.path.join('output/snapshots', args.snapshot + '.pkl')
 
-    # ResNet50 with 3 outputs.
+    # ResNet101 with 3 outputs.
+    # model = hopenet.Hopenet(torchvision.models.resnet.Bottleneck, [3, 4, 23, 3], 66)
+    # ResNet50
     # model = hopenet.Hopenet(torchvision.models.resnet.Bottleneck, [3, 4, 6, 3], 66)
+    # ResNet18
     model = hopenet.Hopenet(torchvision.models.resnet.BasicBlock, [2, 2, 2, 2], 66)
 
     print 'Loading snapshot.'

--
Gitblit v1.8.0