GithubHelp home page GithubHelp logo

hubayirp / pytorch-vslud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pcshih/pytorch-vslud

0.0 1.0 0.0 280 KB

This is the implementation of the paper Video Summarization by Learning from Unpaired Data(CVPR2019)

Python 100.00%

pytorch-vslud's Introduction

pytorch-VSLUD

This is the implementation of the paper Video Summarization by Learning from Unpaired Data(CVPR2019)

The FCSN architecture in above image is from Video Summarization Using Fully Convolutional Sequence Networks(ECCV2018)

Environment

  • Ubuntu 18.04.1 LTS
  • python 3.6.7
  • numpy 1.15.4
  • pytorch 1.1.0
  • torchvision 0.3.0
  • tqdm 4.32.1
  • tensorboardX 1.6

Get started

1. clone the project

$ cd && git clone https://github.com/pcshih/pytorch-VSLUD.git && cd pytorch-VSLUD

2. create dir for saving models

$ mkdir saved_models

3. download datasets.zip(this dataset is from here) into the project folder and unzip it

$ unzip datasets.zip 

4. run training_set_preparation.py for creating summe training set

$ python3 training_set_preparation.py

5. train

$ python3 train.py

6. start tensorboardX to view the loss curves

$ tensorboard --logdir runs --port 6006

Problems

Sorry for my poor coding, I am new to pytorch and deep learning.

The loss curves above are not reasonable during GAN training.

"The decoder of FCSN consists of several temporal deconvolution operations which produces a vector of prediction scores with the same length as the input video. Each score indicates the likelihood of the corresponding frame being a key frame or non-key frame. Based on these scores, we select k key frames to form the predicted summary video." -> found in the paper Video Summarization by Learning from Unpaired Data(CVPR2019)

I implement "we select k key frames to form the predicted summary video" by torch.index_select(input, dim, index, out=None)

Is the function torch.index_select(input, dim, index, out=None) differentiable during training?Is this the main problem to cause the training to death?

Please feel free to contact me via email ([email protected]) or disscuss on issues if you have any suggestions.

I am all gratitude.

pytorch-vslud's People

Contributors

pcshih avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.