summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-19 02:29:51 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-19 02:29:51 +0200
commit0a99ad7679092a37232e94b11f128a90caf67bd1 (patch)
tree9393e8ee26ba5d380e25e4dbe33c39c89b61190c
parentdd006ec9e3a4dfd611f82deb399c3f5071a4e7b3 (diff)
test
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 2a60a65..e14d228 100644
--- a/test.py
+++ b/test.py
@@ -17,7 +17,7 @@ if __name__ == '__main__':
opt.batchSize = 1 # test code only supports batchSize = 1
opt.serial_batches = True # no shuffle
opt.no_flip = True # no flip
- opt.experiment = opt.start_img.split(".")[0]
+ opt.experiment = opt.start_img.split("/")[-1].split(".")[0]
render_dir = opt.results_dir + opt.name + "/exp:" + opt.experiment + "/"