diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-23 18:17:11 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-23 18:17:11 +0100 |
| commit | d6532455b52f6ee6c4ef0c29242f1ee8ac5943e5 (patch) | |
| tree | 78ba3e57129265a8b93a8587a7242e41a3de915d | |
| parent | 811ec7fa5a4c2a6c65bb7a809985dba5cf3b10a9 (diff) | |
take/make
| -rwxr-xr-x | augment.py | 2 | ||||
| -rwxr-xr-x | build_dataset.pl | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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/"; |
