diff options
| -rwxr-xr-x | augment.py | 6 | ||||
| -rwxr-xr-x | cleanup.sh | 1 | ||||
| -rwxr-xr-x | dir-to-movie.pl | 2 | ||||
| -rw-r--r-- | splice.pl | 3 |
4 files changed, 9 insertions, 3 deletions
@@ -172,5 +172,7 @@ for m in range(data_opt.augment_take): os.unlink(frame_A) if os.path.exists(frame_B): os.unlink(frame_B) - os.symlink(os.path.abspath(next_path), os.path.abspath(frame_A)) - os.symlink(os.path.abspath(sequence[index+2]), os.path.abspath(frame_B)) + if index + 2 < len(sequence): + os.symlink(os.path.abspath(next_path), os.path.abspath(frame_A)) + os.symlink(os.path.abspath(sequence[index+2]), os.path.abspath(frame_B)) + @@ -14,6 +14,7 @@ rm checkpoints/*/4_*.pth rm checkpoints/*/5_*.pth rm checkpoints/*/6_*.pth rm checkpoints/*/7_*.pth +rm checkpoints/*/8_*.pth echo "Cleaning up recursive frames..." diff --git a/dir-to-movie.pl b/dir-to-movie.pl index 332c491..ea8992e 100755 --- a/dir-to-movie.pl +++ b/dir-to-movie.pl @@ -87,6 +87,8 @@ for my $line (@ffmpeg_lines) { print $line . "\n"; } +#print("upload disabled for now\n"); +#if (2 == 1 && defined $endpoint) { if (defined $endpoint) { print("upload to $endpoint\n"); system("curl", @@ -76,7 +76,8 @@ print $pwd . "\n"; my $sequence_i = 0; my $dataset_i = scalar @$dataset_files; my $last_fn = undef; -for my $filename (sort @$sequence_files) { +for my $fn (sort @$sequence_files) { + my $filename = "sequences/$sequence/$fn"; if ($start_frame <= $sequence_i and $sequence_i <= $end_frame) { chomp $filename; # print($pwd . $filename. "\n"); |
