You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download DAVIS dataset and MSCOCO-train2014 dataset and place it under the data directory. Download the test data used in the paper from [TODO] or you can use your own data. Make sure the folder contains
Using the run.py script, the experiments in the paper can be easily reproduced. For its detailed usage, please refer to the arguments specification of run.py.
Here are the steps to reproduce the experiments in the paper:
Train the SFN without temporal loss. These models are baselines themselves, and will be finetuned by different temporal losses in the next few steps.
python run.py train --temp-loss none
Train SFN with different temporal losses.
# SFN trained with the P-FDB loss
python run.py train --temp-loss p-fdb
# SFN trained with the C-FDB loss
python run.py train --temp-loss c-fdb
# SFN trained with the OFB loss
python run.py train --temp-loss ofb
Train RNN with different temporal losses.
# SFN trained with the P-FDB loss
python run.py train --temp-loss p-fdb --model rnn
# SFN trained with the C-FDB loss
python run.py train --temp-loss c-fdb --model rnn
# SFN trained with the OFB loss
python run.py train --temp-loss ofb --model rnn
Stylize videos. Using the run.py script, the models will be evaluated using the test data in data/testin and put the raw images in data/testout. The generated videos are properly re-named and put in the download folder.