Skip to content

shwoo93/video_decaptioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chalearn Inpainting challenge Track 2

1st place on final test phase (challenge ID 'SanghyunWoo') https://competitions.codalab.org/competitions/18421#results

Final model overview

architecture

Preparation:

  1. Install Python 3.6.4 version and Pytorch 0.3.1.post3
  2. Install Dependencies
  • visdom (training loss curve visualization)
  • ffmpeg (video to png)
  1. Install pretrained weight

Brief code instruction:

  1. Extract png files for each mp4 videos (use video_png.py)
  2. Set root path (modify --root_path flag in scripts)
  3. Run the code using scripts
  • scripts/train.sh (for training the final model)
    • we trained for 200 epochs (about 3days using 2 gpus, GTX 1080 ti)
  • scripts/test.sh (for testing the final model)
    • 1~2 sec per video
  • Note that we attached pretrained weight of the final model at google drive.(final_model.pth) Please properly modify the path of pretrained weight in test.sh file for testing.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages