CondensedMovies
Story-Based Retrieval with Contextual Embeddings. Largest freely available movie video dataset. [ACCV'20]
Install / Use
/learn @m-bain/CondensedMoviesREADME
CondensedMovies
**** N.B: Please use the condensed movies challenge https://github.com/m-bain/CondensedMovies-chall with updated splits since some videos in the original paper are unavailable with missing features ****_
Contact me directly for the additional dataset queries, details in the challenge repo for feature download.
###############################################
This repository contains the video dataset, implementation and baselines from <strong>Condensed Movies: Story Based Retrieval with Contextual Embeddings</strong>.
Project page | arXiv preprint | Read the paper | Preview the data
CondensedMovies Dataset

The dataset consists of 3K+ movies, 30K+ professionally captioned clips, 1K+ video hours, 400K+ facetracks & precomputed features from 6 different modalities.
Installation
Requirements:
- Storage
- 20GB for features (required for baseline experiments)
- 10GB for facetracks
- 250GB for videos
- Libraries
- ffmpeg (for video download)
- youtube-dl (for video download)
- pandas, numpy
- python 3.6+
Prepare Data
- Navigate to directory
cd CondensedMovies/data_prep/ - Edit configuration file
config.jsonto download desired subsets of the dataset and their destination. - If downloading the source videos (
src: true), you can edityoutube-dl.conffor desired resolution, subtitles etc. Please see youtube-dl for more info - Run
python download.py
If you have trouble downloading the source videos or features (due to geographical restrictions or otherwise), please contact me.
Video-Text Retrieval
Baseline (Mixture of Expert Embeddings)
Edit data_dir and save_dir in configs/moe.json for the experiments.
python train.py configs/moe.jsonpython test.py --resume $SAVED_EXP_DIR/model_best.pth
Visualisation
Run python visualise_face_tracks.py with the appropriate arguments to visualise face tracks for a given videoID (requires facetracks and source videos downloaded).
TODO:
- [x] youtube download script
- [x] missing videos check
- [x] precomputed features download script
- [x] facetrack visualisation
- [x] dataloader
- [x] video-text retrieval baselines
- [ ] intra-movie baselines + char module
- [ ] release fixed_seg features
FAQ
Why did some of the source videos fail to download?
This is most likely due to geographical restrictions on the videos, email me at maxbain@robots.ox.ac.uk and I can help.
The precomputed features are averaged over the temporal dimension, will you release the original features?
This is to save space, original features in total are ~1TB, contact me to arrange download of this.
I think clip X is incorrectly identified as being from movie Y, what do do?
Please let me know any movie identification mistakes and I'll correct it ASAP.
Acknowledgements
We would like to thank Samuel Albanie for his help with feature extraction.
Related Skills
qqbot-channel
353.3kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
353.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
