summaryrefslogtreecommitdiff
path: root/process-sequences.sh
blob: ab19974997447a7efdbc522d9d9e52695f9f2ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
function process() {
  sequence_a="$1"
  sequence_b="$2"
  rm renders/*
  python run.py \
    --mix-videos True \
    --first "../pix2pixhd/sequences/$sequence_a/" \
    --second "../pix2pixhd/sequences/$sequence_b/" \
    --steps 8 \
    --dilate 8 \
    --smooth True \
    --video-out "morph_smooth_${sequence_a}.mp4"
  scp renders/* jules@lmno:asdf/neural/morph/
}
function process_self() {
  sequence="$1"
  a_offset="$2"
  b_offset="$3"
  rm renders/*
  python run.py \
    --mix-videos True \
    --first "../pix2pixhd/sequences/$sequence/" \
    --second "../pix2pixhd/sequences/$sequence/" \
    --a-offset "$a_offset" \
    --b-offset "$b_offset" \
    --steps 8 \
    --dilate 16 \
    --smooth True \
    --video-out "morph_smooth_self_${b_offset}_${sequence}.mp4"
  scp renders/* jules@lmno:asdf/neural/morph/
}

process wood dji_phantom_3_drone_flying_the_blue_ridge_mountains_
process a_walk_around_canary_wharf_spring_afternoon_in_london london_walk_around_the_roof_garden_of_crossrail_place_in_canary_wharf

process_self wood 0 25
process_self wood 0 250
process_self wood 0 2500

process_self stunning_blooming_flowers_relax_music_2_hours_timelapse_color_therapy_sleep_music_hd_1080p 0 25
process_self stunning_blooming_flowers_relax_music_2_hours_timelapse_color_therapy_sleep_music_hd_1080p 0 250
process_self stunning_blooming_flowers_relax_music_2_hours_timelapse_color_therapy_sleep_music_hd_1080p 0 2500