summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-23 18:17:11 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-23 18:17:11 +0100
commitd6532455b52f6ee6c4ef0c29242f1ee8ac5943e5 (patch)
tree78ba3e57129265a8b93a8587a7242e41a3de915d
parent811ec7fa5a4c2a6c65bb7a809985dba5cf3b10a9 (diff)
take/make
-rwxr-xr-xaugment.py2
-rwxr-xr-xbuild_dataset.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/augment.py b/augment.py
index c0f8c7a..e330328 100755
--- a/augment.py
+++ b/augment.py
@@ -100,7 +100,7 @@ if not opt.engine and not opt.onnx:
sequence = read_sequence(data_opt.sequence_name, '')
print("Got sequence {}, {} images".format(data_opt.sequence_name, len(sequence)))
if data_opt.no_symlinks:
- _len = len(sequence) - data_opt.augment_take - 2
+ _len = len(sequence) - data_opt.augment_make - 2
else:
_len = len(sequence)
diff --git a/build_dataset.pl b/build_dataset.pl
index 8b80d84..9d77766 100755
--- a/build_dataset.pl
+++ b/build_dataset.pl
@@ -4,7 +4,7 @@ use strict;
use Cwd qw(cwd);
my $base_dir = cwd;
-our $tag = lc shift @ARGV;
+our $tag = shift @ARGV;
our $images_dir = $base_dir . "/sequences/$tag/";
our $thumbs_dir = $base_dir . "/datasets/$tag/";