DEEP VIDEO INPAINTING LOCALIZATION USING SPATIAL AND TEMPORAL TRACES

gif

Requirements

  • Python 3
  • Tensorflow >= 1.10.0

Usage

Required Data

Then, run the following command.

Train

python3 hp_flow_lstm.py --data_dir <path_to_the_training_dataset> --logdir <path_to_the directory_for_saving_model_and_log> --mode train

For example,

python3 hp_flow_lstm.py --data_dir example_data/png --logdir model/model --mode train

Test

Prepare the testing data in a similar way and run the code as follows.

python3 hp_flow_lstm.py --data_dir <path_to_the_testing_dataset> --logdir <path_to_the directory_where_the_trained_model_is_saved> --mode test

For example,

python hp_flow_lstm.py --data_dir example_data/png --logdir model/Flow --mode test