Skip to content
Snippets Groups Projects
Commit 41ffcc44 authored by Hussain Kanafani's avatar Hussain Kanafani
Browse files

README updated

parent ee69855d
No related branches found
No related tags found
No related merge requests found
**Evaluating and Extending Unsupervised VideoSummarization Methods** ## Evaluating and Extending Unsupervised VideoSummarization Methods
1. Evaluation unsupervised methods with different metric under same configuration. 1. Evaluation unsupervised methods with different metric under same configuration.
2. Investigating effect of extracted features in unsupervised methods and extend it to perform better than baseline work. 2. Investigating effect of extracted features in unsupervised methods and extend it to perform better than baseline work.
...@@ -23,3 +23,34 @@ Eventually, it aims to find an unsupervised video summarization method, in order ...@@ -23,3 +23,34 @@ Eventually, it aims to find an unsupervised video summarization method, in order
* [Reproduce (Zhou et al. 2018)](https://gitlab.uni-hannover.de/hussainkanafani/unsupervised-video-summarization/-/wikis/Reproduce-(Zhou-et-al.-2018)%E2%80%8B) * [Reproduce (Zhou et al. 2018)](https://gitlab.uni-hannover.de/hussainkanafani/unsupervised-video-summarization/-/wikis/Reproduce-(Zhou-et-al.-2018)%E2%80%8B)
* [Conda cheat sheet](https://gitlab.uni-hannover.de/hussainkanafani/unsupervised-video-summarization/-/wikis/Conda-cheat-sheet) * [Conda cheat sheet](https://gitlab.uni-hannover.de/hussainkanafani/unsupervised-video-summarization/-/wikis/Conda-cheat-sheet)
### SUM-Ind
Make splits
```bash
python create_split.py -d datasets/eccv16_dataset_summe_google_pool5.h5 --save-dir datasets --save-name summe_splits --num-splits 5
```
As a result, the dataset is randomly split for 5 times, which are saved as json file.
Train and test codes are written in `main.py`. To see the detailed arguments, please do `python main.py -h`.
#### How to train
```bash
python main.py -d datasets/eccv16_dataset_summe_google_pool5.h5 -s datasets/summe_splits.json -m summe --gpu 0 --save-dir log/summe-split0 --split-id 0 --verbose
```
#### How to test
```bash
python main.py -d datasets/eccv16_dataset_summe_google_pool5.h5 -s datasets/summe_splits.json -m summe --gpu 0 --save-dir log/summe-split0 --split-id 0 --evaluate --resume path_to_your_model.pth.tar --verbose --save-results
```
### Citation
```
@article{zhou2017reinforcevsumm,
title={Deep Reinforcement Learning for Unsupervised Video Summarization with Diversity-Representativeness Reward},
author={Zhou, Kaiyang and Qiao, Yu and Xiang, Tao},
journal={arXiv:1801.00054},
year={2017}
}
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment