diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-09-13 19:03:22 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-09-13 19:03:22 +0200 |
| commit | b1d5d82fb88fd4157d3c47a9de86583d8770877f (patch) | |
| tree | 1e48d9c874b693fba91cbd04187d22c7e568a42a /build_dataset.pl | |
| parent | 908e0644bacad5850798c52c1c050f5f733040a2 (diff) | |
isdigit
Diffstat (limited to 'build_dataset.pl')
| -rwxr-xr-x | build_dataset.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_dataset.pl b/build_dataset.pl index f88b818..9d77766 100755 --- a/build_dataset.pl +++ b/build_dataset.pl @@ -39,7 +39,7 @@ my $dir; my $src; my $dst; for ($i = 0; $i < $count; $i++) { - if (($i % $test_split) = ($test_split-1)) { + if (($i % $test_split) == ($test_split-1)) { $dir = $thumbs_dir . "test_"; $src = $images_dir . $images[$i]; |
