diff options
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]; |
