summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-18 13:20:56 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-18 13:20:56 +0200
commit7f8b0de93cf8a12d5408db200a0ad2459cb0fee5 (patch)
tree090b479f854e1f83802b74d21b63e6b8fab5c58a /test.py
parent146014b8e7ff0e9fd1020e62cabcce471f988728 (diff)
k
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.py b/test.py
index 78d0c98..1ddb894 100644
--- a/test.py
+++ b/test.py
@@ -21,7 +21,8 @@ if __name__ == '__main__':
web_dir = os.path.join(opt.results_dir, opt.name, '%s_%s' % (opt.phase, opt.which_epoch))
webpage = html.HTML(web_dir, 'Experiment = %s, Phase = %s, Epoch = %s' % (opt.name, opt.phase, opt.which_epoch))
# test
- for i, data in enumerate(dataset):
+ print(dataset.name())
+ for i, data in enumerate(data_loader):
if i >= opt.how_many:
break
model.set_input(data)