Skip to content

Commit

Permalink
add activitynet helper
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ging committed Feb 23, 2024
1 parent d8d9e0e commit b60f93c
Show file tree
Hide file tree
Showing 5 changed files with 4,978 additions and 10 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,13 @@ cd data/activitynet
# download the activitynet annotations
wget http://ec2-52-25-205-214.us-west-2.compute.amazonaws.com/files/activity_net.v1-3.min.json

mkdir -p frames_uncropped
cd frames_uncropped
# TBD wget ...middleframes_val.tar
tar -xf middleframes_val.tar
pip install fiftyone pytube
python -c 'import fiftyone; fiftyone.zoo.load_zoo_dataset("activitynet-200", split="validation", dataset_dir=".", progress=True, max_samples=4926)'

# mkdir -p frames_uncropped
# cd frames_uncropped
# # TBD wget ...middleframes_val.tar
# tar -xf middleframes_val.tar

cd ../../..

Expand Down Expand Up @@ -401,8 +404,10 @@ See `run_scripts/` for running the model evaluation and computing the metrics. S
## Dev commands

```bash
pip install -U pytest black[jupyter] md-toc
python -m pytest
black -l 100 ovqa tests *.py
python update_toc.py

```

Expand Down
1 change: 0 additions & 1 deletion ovqa/annotations/activitynet/activity_net.v1-3.min.json

This file was deleted.

Loading

0 comments on commit b60f93c

Please sign in to comment.