Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
ef95f11
modifications made
gitumarkk May 9, 2019
ad3e8af
code restructure
gitumarkk May 16, 2019
e469623
updated notebook
gitumarkk May 16, 2019
413f6f8
updated codebase
gitumarkk May 17, 2019
6c3925c
jsonlint
gitumarkk Aug 8, 2019
0f10e8e
updated management
gitumarkk Aug 20, 2019
3a1bf73
updated code base
gitumarkk Oct 10, 2019
568a19a
updated codebase
gitumarkk Oct 24, 2019
24f0d8d
updated code base
gitumarkk Oct 25, 2019
5e4ab8f
added work dir files
gitumarkk Oct 25, 2019
289eb65
updating the failed log
gitumarkk Oct 28, 2019
19004a4
updated codebase
gitumarkk Oct 29, 2019
a9aad71
updated code base
gitumarkk Oct 29, 2019
db6f614
removed all
gitumarkk Oct 29, 2019
dfca757
Merge branch 'master' of github.com:dancelogue/dance-datasets-downloader
gitumarkk Oct 29, 2019
7fd49f9
added downloaded and missing
gitumarkk Oct 29, 2019
822753a
commented uneeded
gitumarkk Oct 29, 2019
62553c8
updated requirements
gitumarkk Oct 29, 2019
8b6d5c5
updated download path
gitumarkk Oct 29, 2019
49b3a35
download data
gitumarkk Oct 29, 2019
84b06b3
added multiprocessing
gitumarkk Oct 29, 2019
52ade89
added install script
gitumarkk Oct 29, 2019
c95105f
updated worker count
gitumarkk Oct 29, 2019
c0b6321
fixed typo
gitumarkk Oct 29, 2019
89b55c3
updated
gitumarkk Oct 29, 2019
8736e6c
updated code base
gitumarkk Oct 30, 2019
8cd08c2
updated codebase
gitumarkk Oct 30, 2019
32bbf0a
updated code base
gitumarkk Oct 30, 2019
1dc6214
updated code base
gitumarkk Oct 30, 2019
c3467f3
updated logging info
gitumarkk Oct 31, 2019
9928284
reverted failed log
gitumarkk Oct 31, 2019
94eb69d
updated codebase
gitumarkk Oct 31, 2019
d533a05
added missing
gitumarkk Nov 5, 2019
41f4bd2
added files
gitumarkk Nov 6, 2019
65e8889
add launch
gitumarkk Nov 6, 2019
e45bd94
Merge branch 'master' of github.com:dancelogue/dance-datasets-downloader
gitumarkk Nov 6, 2019
7f07454
updated
gitumarkk Nov 11, 2019
6bfbb3d
updated
gitumarkk Nov 12, 2019
a04f7bd
missing
gitumarkk Nov 12, 2019
cc1d4d1
added stats file
gitumarkk Feb 11, 2020
61ee2e0
updated gitignore
gitumarkk Feb 11, 2020
eb694fd
updated code base
gitumarkk Feb 11, 2020
64a4d20
updated code base
gitumarkk Feb 11, 2020
16c0529
made changes
gitumarkk Feb 23, 2020
7c6d916
Merge branch 'master' of github.com:dancelogue/dance-datasets-downloader
gitumarkk Feb 23, 2020
7862764
updated pie
gitumarkk Feb 24, 2020
de03aef
added notebooks
gitumarkk Feb 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/.git
**/.DS_Store

resources/
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/dataset
/.idea
__pycache__
*.DS_Store*
__pycache__
work_dir/*
!work_dir/missing.json
!work_dir/downloaded.json
!work_dir/all.json
venv/
stats/*
!stats/.gitkeep
16 changes: 16 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.6-slim

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
RUN apt-get install -y ffmpeg

# Torch and dependencies:
WORKDIR /requirements
COPY requirements.txt .
RUN pip install -r requirements.txt

# Python server requirements
COPY server/requirements.txt .server-requirements.txt
RUN pip install -r .server-requirements.txt

WORKDIR /
File renamed without changes.
43 changes: 43 additions & 0 deletions downloader/config/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"ucf": {
"data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/UCF101/UCF-101"
},

"activity_net": {
"json": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Activity Net/activity_net.v1-3.min.json",
"data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Activity Net"
},

"kinetics": {
"default": 600,
"categories": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/categories.json",
"classes": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/classes.json",
"700": {
"json": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/700",
"val_json": "",
"train_json": "",
"test_json": "",
"data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/"
},
"600": {
"json": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/600",
"val_json": "",
"train_json": "",
"test_json": "",
"data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/"
},

"400": {
"json": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/400",
"val_json": "",
"train_json": "",
"test_json": "",
"data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Kinetics/"
}
},

"lets_dance": {
"rgb_data": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Lets Dance/rgb",
"meta": "/Volumes/Extreme SSD/Dancelogue/DATASETS/Lets Dance/meta.txt"
}
}
3 changes: 3 additions & 0 deletions downloader/config/settings.json.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{

}
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 5 additions & 2 deletions download.py → downloader/core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import lib.config as config
import lib.parallel_download as parallel

from tqdm import tqdm


def maybe_create_dirs():
"""
Create directories for training, validation and testing videos if they do not exist.
Expand Down Expand Up @@ -51,8 +54,8 @@ def download_classes(classes, num_workers, failed_save_file, compress, verbose,
:return: None.
"""

for list_path, save_root in zip([config.TRAIN_METADATA_PATH, config.VAL_METADATA_PATH],
[config.TRAIN_ROOT, config.VALID_ROOT]):
for list_path, save_root in tqdm(zip([config.TRAIN_METADATA_PATH, config.VAL_METADATA_PATH],
[config.TRAIN_ROOT, config.VALID_ROOT])):
with open(list_path) as file:
data = json.load(file)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading