This fork is primarily for viewing results from our network on the Charades dataset.
Note that it has been specifically designed to work on the videos resampled to 24 FPS, not the original videos.
A relatively bare-bones interface for visualizing per-frame predictions and groundtruth labels on video data.
Since everyone stores their predictions and groundtruth in a variety of formats, you'll need to write some code to allow the visualizer to access your data.
The basic steps are:
- Implement a DataLoader which implements the abstract methods in
data_loaders/data_loader.py
. Here's an example that I wrote and is used for the demo above. - "Register" your DataLoader
data_loaders/__init__.py
, similar to how theMultiThumosDataLoader
is, currently. - Create a
.cfg
file for your data loader, similar tovideo_visualizer.cfg
. Note that theDATA_LOADER_CONFIG
config option will be passed as keyword arguments to yourDataLoader
.
Finally, you can run the server!
export FLASK_APP=video_visualizer.py FLASK_CONFIG=video_visualizer.cfg
flask run