Datasets:
Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- README.md +194 -0
- data/legacy_480p_grpo/avdense-val480p-00000.tar +3 -0
- data/legacy_480p_grpo/avdense-val480p-00001.tar +3 -0
- data/legacy_480p_grpo/avdense-val480p-00002.tar +3 -0
- data/legacy_480p_grpo/avdense-val480p-00003.tar +3 -0
- data/processed/test/avdense-test-00000.tar +3 -0
- data/processed/test/avdense-test-00001.tar +3 -0
- data/processed/train/avdense-train-00000.tar +3 -0
- data/processed/train/avdense-train-00001.tar +3 -0
- data/processed/train/avdense-train-00002.tar +3 -0
- data/processed/train/avdense-train-00003.tar +3 -0
- data/processed/train/avdense-train-00004.tar +3 -0
- data/processed/train/avdense-train-00005.tar +3 -0
- data/processed/train/avdense-train-00006.tar +3 -0
- data/processed/train/avdense-train-00007.tar +3 -0
- data/processed/train/avdense-train-00008.tar +3 -0
- data/processed/train/avdense-train-00009.tar +3 -0
- data/processed/val/avdense-val-00000.tar +3 -0
- data/processed/val/avdense-val-00001.tar +3 -0
- manifests/SHA256SUMS +18 -0
- manifests/shards.json +170 -0
- metadata/AV60KDenseBench.csv +0 -0
- metadata/AV69kDense-vanilla-max4s.pt +3 -0
- metadata/align_csv.py +71 -0
- metadata/test.jsonl +0 -0
- metadata/train.jsonl +3 -0
- metadata/val.jsonl +0 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
metadata/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: AV-Dense-60k
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-to-video
|
| 7 |
+
- text-to-audio
|
| 8 |
+
- video-text-to-text
|
| 9 |
+
tags:
|
| 10 |
+
- audio-video
|
| 11 |
+
- multimodal
|
| 12 |
+
- dense-captioning
|
| 13 |
+
- reinforcement-learning
|
| 14 |
+
- webdataset
|
| 15 |
+
license: other
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# AV-Dense-60k
|
| 19 |
+
|
| 20 |
+
AV-Dense-60k contains paired video, audio, raw text, and dense audio-video captions.
|
| 21 |
+
The media is packaged as deterministic WebDataset TAR shards, with portable metadata
|
| 22 |
+
and checksums for streaming or restoration.
|
| 23 |
+
|
| 24 |
+
> **Rights and license notice:** this repository uses `license: other`. Public
|
| 25 |
+
> availability does not relicense the underlying media and does not grant rights that
|
| 26 |
+
> the publisher does not hold. Before downloading, redistributing, or using any sample,
|
| 27 |
+
> users must independently confirm the media's provenance, copyright and neighboring
|
| 28 |
+
> rights, platform terms, privacy/consent requirements, and suitability for their
|
| 29 |
+
> intended jurisdiction and use.
|
| 30 |
+
|
| 31 |
+
## Verified dataset inventory
|
| 32 |
+
|
| 33 |
+
| Split | Records | Video | Audio | Intended role |
|
| 34 |
+
| --- | ---: | ---: | ---: | --- |
|
| 35 |
+
| train | 44,178 | 44,178 | 44,178 | model training |
|
| 36 |
+
| validation | 5,522 | 5,522 | 5,522 | held-out validation |
|
| 37 |
+
| test | 5,523 | 5,523 | 5,523 | final evaluation only |
|
| 38 |
+
|
| 39 |
+
The split IDs are unique and pairwise disjoint. Every manifest ID has exactly one MP4
|
| 40 |
+
and one WAV in `processed_gt_data`; no missing, orphan, or zero-byte files were found.
|
| 41 |
+
`AV60KDenseBench.csv` contains the same 5,523 IDs as `test.jsonl` and must not be used
|
| 42 |
+
for training. The additional `480p_grpo` variant contains the 5,522 validation IDs.
|
| 43 |
+
|
| 44 |
+
The upstream metadata contained obsolete machine-specific media locations. Release
|
| 45 |
+
staging reconstructs every video/audio field from the split and `video_id`/`id`, so all
|
| 46 |
+
structured paths in this repository are canonical and relative to the restored dataset
|
| 47 |
+
root, for example `processed_gt_data/train/videos/<video_id>.mp4`.
|
| 48 |
+
|
| 49 |
+
## Repository contents
|
| 50 |
+
|
| 51 |
+
This data repository contains only the following release surfaces:
|
| 52 |
+
|
| 53 |
+
```text
|
| 54 |
+
README.md
|
| 55 |
+
metadata/
|
| 56 |
+
train.jsonl
|
| 57 |
+
val.jsonl
|
| 58 |
+
test.jsonl
|
| 59 |
+
AV60KDenseBench.csv
|
| 60 |
+
AV69kDense-vanilla-max4s.pt
|
| 61 |
+
align_csv.py
|
| 62 |
+
data/
|
| 63 |
+
processed/train/avdense-train-*.tar
|
| 64 |
+
processed/val/avdense-val-*.tar
|
| 65 |
+
processed/test/avdense-test-*.tar
|
| 66 |
+
legacy_480p_grpo/avdense-val480p-*.tar
|
| 67 |
+
manifests/
|
| 68 |
+
shards.json
|
| 69 |
+
SHA256SUMS
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
Training, extraction, and manifest-building code is distributed separately from this
|
| 73 |
+
dataset repository. No model source, checkpoint, experiment report, or presentation is
|
| 74 |
+
claimed as part of this public data release.
|
| 75 |
+
|
| 76 |
+
## WebDataset sample format
|
| 77 |
+
|
| 78 |
+
Each processed sample has three same-stem members:
|
| 79 |
+
|
| 80 |
+
```text
|
| 81 |
+
<video_id>.mp4
|
| 82 |
+
<video_id>.wav
|
| 83 |
+
<video_id>.json
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
The JSON member contains `sample_id`, `split`, `variant`, `prompt_av`, `prompt_v`,
|
| 87 |
+
`prompt_a`, `video_path`, and `audio_path`. `prompt_av`/`prompt_v` use
|
| 88 |
+
`dense_caption`; `prompt_a` uses `raw_text`; both media paths are relative.
|
| 89 |
+
|
| 90 |
+
## Stream shards without extraction
|
| 91 |
+
|
| 92 |
+
Install the optional `webdataset` package, then run this example from the downloaded
|
| 93 |
+
data repository root:
|
| 94 |
+
|
| 95 |
+
```bash
|
| 96 |
+
python -m pip install webdataset
|
| 97 |
+
python - <<'PY'
|
| 98 |
+
import json
|
| 99 |
+
from pathlib import Path
|
| 100 |
+
|
| 101 |
+
import webdataset as wds
|
| 102 |
+
|
| 103 |
+
shards = sorted(Path("data/processed/train").glob("avdense-train-*.tar"))
|
| 104 |
+
if not shards:
|
| 105 |
+
raise SystemExit("no train shards found; run from the data repository root")
|
| 106 |
+
|
| 107 |
+
samples = wds.WebDataset([str(path) for path in shards], shardshuffle=False).to_tuple(
|
| 108 |
+
"__key__", "mp4", "wav", "json"
|
| 109 |
+
)
|
| 110 |
+
for sample_id, mp4_bytes, wav_bytes, metadata_bytes in samples:
|
| 111 |
+
metadata = json.loads(metadata_bytes)
|
| 112 |
+
print(sample_id, len(mp4_bytes), len(wav_bytes), metadata["prompt_av"])
|
| 113 |
+
break
|
| 114 |
+
PY
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
## Integrity verification
|
| 118 |
+
|
| 119 |
+
Before extraction, run the checksum gate from the data repository root:
|
| 120 |
+
|
| 121 |
+
```bash
|
| 122 |
+
sha256sum --check manifests/SHA256SUMS
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
Do not extract or train if any shard is missing or is not reported as `OK`.
|
| 126 |
+
|
| 127 |
+
For a stronger, read-only audit, use `extract_avdense_webdataset.py` from the separately
|
| 128 |
+
distributed JavisR1 code package. The `--verify-only` mode rechecks shard digests,
|
| 129 |
+
manifest totals, TAR structure, sample counts, relative JSON paths, and every
|
| 130 |
+
MP4/WAV/JSON triplet without writing output.
|
| 131 |
+
|
| 132 |
+
One reproducible relative workspace arrangement is:
|
| 133 |
+
|
| 134 |
+
```text
|
| 135 |
+
workspace/
|
| 136 |
+
AV-Dense-60k/ # this data repository
|
| 137 |
+
code/jarvisr1/ # separately distributed code package
|
| 138 |
+
datasets/ # restoration destination
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
From `workspace/code/jarvisr1`:
|
| 142 |
+
|
| 143 |
+
```bash
|
| 144 |
+
python3 scripts/extract_avdense_webdataset.py \
|
| 145 |
+
--repo-root ../../AV-Dense-60k \
|
| 146 |
+
--verify-only
|
| 147 |
+
```
|
| 148 |
+
|
| 149 |
+
## Restore the training layout
|
| 150 |
+
|
| 151 |
+
Run restoration only after both checksum and verify-only gates succeed. From the same
|
| 152 |
+
separately distributed code-package directory:
|
| 153 |
+
|
| 154 |
+
```bash
|
| 155 |
+
python3 scripts/extract_avdense_webdataset.py \
|
| 156 |
+
--repo-root ../../AV-Dense-60k \
|
| 157 |
+
--output-root ../../datasets/AV-Dense-60k
|
| 158 |
+
|
| 159 |
+
python3 scripts/build_avdense_manifests.py \
|
| 160 |
+
--dataset-root ../../datasets/AV-Dense-60k
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
The extractor restores the normalized metadata plus the following default media tree:
|
| 164 |
+
|
| 165 |
+
```text
|
| 166 |
+
../../datasets/AV-Dense-60k/
|
| 167 |
+
train.jsonl
|
| 168 |
+
val.jsonl
|
| 169 |
+
test.jsonl
|
| 170 |
+
processed_gt_data/train/{videos,audios}/...
|
| 171 |
+
processed_gt_data/val/{videos,audios}/...
|
| 172 |
+
processed_gt_data/test/{videos,audios}/...
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
To additionally restore the legacy validation-resolution variant, add
|
| 176 |
+
`--include-legacy-480p` to the extraction command. The canonical builder produces:
|
| 177 |
+
|
| 178 |
+
```text
|
| 179 |
+
sample_id,prompt_av,prompt_v,prompt_a,video_path,audio_path,split
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
## Responsible use and limitations
|
| 183 |
+
|
| 184 |
+
- `license: other` is intentional; do not infer a permissive media license from public
|
| 185 |
+
repository visibility.
|
| 186 |
+
- Users are responsible for rights clearance, attribution obligations, privacy review,
|
| 187 |
+
consent, and compliance with applicable law and source-platform terms.
|
| 188 |
+
- Keep train, validation, and test IDs disjoint. Test and benchmark rows are evaluation
|
| 189 |
+
only.
|
| 190 |
+
- Dense captions may contain factual, temporal, or synchronization errors and should
|
| 191 |
+
not be treated as ground truth without task-appropriate review.
|
| 192 |
+
- Dataset inclusion does not imply endorsement of a depicted person, action, statement,
|
| 193 |
+
or downstream application.
|
| 194 |
+
- This repository makes no model-quality claim.
|
data/legacy_480p_grpo/avdense-val480p-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6feaa82b8c187413641c6b8e3b7bb262e90f13c87c3b92e9a28d1f2595e84cdc
|
| 3 |
+
size 1077084160
|
data/legacy_480p_grpo/avdense-val480p-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c00f434f5ae510a8a366369a6cdf16e48ac1558cb566716da872e33984b10dca
|
| 3 |
+
size 1076981760
|
data/legacy_480p_grpo/avdense-val480p-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71cd2ad99198408de371da2894d1de1e30304819b6a71158201cfd5d2135b1b9
|
| 3 |
+
size 1077053440
|
data/legacy_480p_grpo/avdense-val480p-00003.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f426672a48f84c9120d97fd8705643c41fd9e66e8a3d0239ed34ae94f3a87156
|
| 3 |
+
size 633774080
|
data/processed/test/avdense-test-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abf971bf075466e9fbea87ab536e9cd91261c2aceb469c3b57bd0a704de02906
|
| 3 |
+
size 1084876800
|
data/processed/test/avdense-test-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec59bb4067bb58e59f98661b4b74a4262b517f23dcf5262d703e8dde5aa8f9b3
|
| 3 |
+
size 235571200
|
data/processed/train/avdense-train-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c811ee2fec92cd985241d4f69fe58ae3294a00d29ce5e36027860e1a2d7f923
|
| 3 |
+
size 1084856320
|
data/processed/train/avdense-train-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00e6714cd779d46ee688fe0af03a0d56a3c3bb31933d899b2ec99d9fcf9103e5
|
| 3 |
+
size 1084887040
|
data/processed/train/avdense-train-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36151abddf837994ce8fb1000a671254ed9c9a0a2eafcafb862ccfe28590581e
|
| 3 |
+
size 1084856320
|
data/processed/train/avdense-train-00003.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e430946db1d6a561ec677f164261f5347a22cbbfbc1ed82b85aac4d35865a5b
|
| 3 |
+
size 1084999680
|
data/processed/train/avdense-train-00004.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f7c9ecaec976e51d0455aa557716979ce5182a943df71ddc906de951a0689c0
|
| 3 |
+
size 1084917760
|
data/processed/train/avdense-train-00005.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f68132b921ccab345647e87e73a14977d1e6a0e107d22881a59926aa0af4c41
|
| 3 |
+
size 1084928000
|
data/processed/train/avdense-train-00006.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b66b91f03e25f6140908c35eef06a1de9710f712e7a40cd329d7c1f6af317031
|
| 3 |
+
size 1084723200
|
data/processed/train/avdense-train-00007.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1abea16b9135c793e2c91a950ad3b12d3726d04b368f0e97a6774e8c3008fd51
|
| 3 |
+
size 1084815360
|
data/processed/train/avdense-train-00008.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34c3c07a5391c5823eb8cb0724c71ab7a3f01305ff36cea1d59b7d502cd25755
|
| 3 |
+
size 1084835840
|
data/processed/train/avdense-train-00009.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86591e76d006a3c5e967240aca7ea63b9abbde6d005398353cd2370bcde2bf9a
|
| 3 |
+
size 847697920
|
data/processed/val/avdense-val-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4332506fcebb7eea48e02f6e2fd88306302d05e13541dc817a13caee69d05cb6
|
| 3 |
+
size 1084948480
|
data/processed/val/avdense-val-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe945cceee14109f36cc9b56c936677bb39e1d0cc22d9a8fbdb1e28e21abba53
|
| 3 |
+
size 237137920
|
manifests/SHA256SUMS
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2c811ee2fec92cd985241d4f69fe58ae3294a00d29ce5e36027860e1a2d7f923 data/processed/train/avdense-train-00000.tar
|
| 2 |
+
00e6714cd779d46ee688fe0af03a0d56a3c3bb31933d899b2ec99d9fcf9103e5 data/processed/train/avdense-train-00001.tar
|
| 3 |
+
36151abddf837994ce8fb1000a671254ed9c9a0a2eafcafb862ccfe28590581e data/processed/train/avdense-train-00002.tar
|
| 4 |
+
3e430946db1d6a561ec677f164261f5347a22cbbfbc1ed82b85aac4d35865a5b data/processed/train/avdense-train-00003.tar
|
| 5 |
+
4f7c9ecaec976e51d0455aa557716979ce5182a943df71ddc906de951a0689c0 data/processed/train/avdense-train-00004.tar
|
| 6 |
+
5f68132b921ccab345647e87e73a14977d1e6a0e107d22881a59926aa0af4c41 data/processed/train/avdense-train-00005.tar
|
| 7 |
+
b66b91f03e25f6140908c35eef06a1de9710f712e7a40cd329d7c1f6af317031 data/processed/train/avdense-train-00006.tar
|
| 8 |
+
1abea16b9135c793e2c91a950ad3b12d3726d04b368f0e97a6774e8c3008fd51 data/processed/train/avdense-train-00007.tar
|
| 9 |
+
34c3c07a5391c5823eb8cb0724c71ab7a3f01305ff36cea1d59b7d502cd25755 data/processed/train/avdense-train-00008.tar
|
| 10 |
+
86591e76d006a3c5e967240aca7ea63b9abbde6d005398353cd2370bcde2bf9a data/processed/train/avdense-train-00009.tar
|
| 11 |
+
4332506fcebb7eea48e02f6e2fd88306302d05e13541dc817a13caee69d05cb6 data/processed/val/avdense-val-00000.tar
|
| 12 |
+
fe945cceee14109f36cc9b56c936677bb39e1d0cc22d9a8fbdb1e28e21abba53 data/processed/val/avdense-val-00001.tar
|
| 13 |
+
abf971bf075466e9fbea87ab536e9cd91261c2aceb469c3b57bd0a704de02906 data/processed/test/avdense-test-00000.tar
|
| 14 |
+
ec59bb4067bb58e59f98661b4b74a4262b517f23dcf5262d703e8dde5aa8f9b3 data/processed/test/avdense-test-00001.tar
|
| 15 |
+
6feaa82b8c187413641c6b8e3b7bb262e90f13c87c3b92e9a28d1f2595e84cdc data/legacy_480p_grpo/avdense-val480p-00000.tar
|
| 16 |
+
c00f434f5ae510a8a366369a6cdf16e48ac1558cb566716da872e33984b10dca data/legacy_480p_grpo/avdense-val480p-00001.tar
|
| 17 |
+
71cd2ad99198408de371da2894d1de1e30304819b6a71158201cfd5d2135b1b9 data/legacy_480p_grpo/avdense-val480p-00002.tar
|
| 18 |
+
f426672a48f84c9120d97fd8705643c41fd9e66e8a3d0239ed34ae94f3a87156 data/legacy_480p_grpo/avdense-val480p-00003.tar
|
manifests/shards.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
"variant": "processed_gt_data",
|
| 9 |
+
"samples": 4506,
|
| 10 |
+
"source_bytes": 1073666998,
|
| 11 |
+
"tar_bytes": 1084856320,
|
| 12 |
+
"sha256": "2c811ee2fec92cd985241d4f69fe58ae3294a00d29ce5e36027860e1a2d7f923"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"path": "data/processed/train/avdense-train-00001.tar",
|
| 16 |
+
"split": "train",
|
| 17 |
+
"variant": "processed_gt_data",
|
| 18 |
+
"samples": 4494,
|
| 19 |
+
"source_bytes": 1073719749,
|
| 20 |
+
"tar_bytes": 1084887040,
|
| 21 |
+
"sha256": "00e6714cd779d46ee688fe0af03a0d56a3c3bb31933d899b2ec99d9fcf9103e5"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"path": "data/processed/train/avdense-train-00002.tar",
|
| 25 |
+
"split": "train",
|
| 26 |
+
"variant": "processed_gt_data",
|
| 27 |
+
"samples": 4499,
|
| 28 |
+
"source_bytes": 1073687499,
|
| 29 |
+
"tar_bytes": 1084856320,
|
| 30 |
+
"sha256": "36151abddf837994ce8fb1000a671254ed9c9a0a2eafcafb862ccfe28590581e"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"path": "data/processed/train/avdense-train-00003.tar",
|
| 34 |
+
"split": "train",
|
| 35 |
+
"variant": "processed_gt_data",
|
| 36 |
+
"samples": 4536,
|
| 37 |
+
"source_bytes": 1073739519,
|
| 38 |
+
"tar_bytes": 1084999680,
|
| 39 |
+
"sha256": "3e430946db1d6a561ec677f164261f5347a22cbbfbc1ed82b85aac4d35865a5b"
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"path": "data/processed/train/avdense-train-00004.tar",
|
| 43 |
+
"split": "train",
|
| 44 |
+
"variant": "processed_gt_data",
|
| 45 |
+
"samples": 4504,
|
| 46 |
+
"source_bytes": 1073716748,
|
| 47 |
+
"tar_bytes": 1084917760,
|
| 48 |
+
"sha256": "4f7c9ecaec976e51d0455aa557716979ce5182a943df71ddc906de951a0689c0"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"path": "data/processed/train/avdense-train-00005.tar",
|
| 52 |
+
"split": "train",
|
| 53 |
+
"variant": "processed_gt_data",
|
| 54 |
+
"samples": 4524,
|
| 55 |
+
"source_bytes": 1073692400,
|
| 56 |
+
"tar_bytes": 1084928000,
|
| 57 |
+
"sha256": "5f68132b921ccab345647e87e73a14977d1e6a0e107d22881a59926aa0af4c41"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"path": "data/processed/train/avdense-train-00006.tar",
|
| 61 |
+
"split": "train",
|
| 62 |
+
"variant": "processed_gt_data",
|
| 63 |
+
"samples": 4529,
|
| 64 |
+
"source_bytes": 1073523657,
|
| 65 |
+
"tar_bytes": 1084723200,
|
| 66 |
+
"sha256": "b66b91f03e25f6140908c35eef06a1de9710f712e7a40cd329d7c1f6af317031"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"path": "data/processed/train/avdense-train-00007.tar",
|
| 70 |
+
"split": "train",
|
| 71 |
+
"variant": "processed_gt_data",
|
| 72 |
+
"samples": 4516,
|
| 73 |
+
"source_bytes": 1073579454,
|
| 74 |
+
"tar_bytes": 1084815360,
|
| 75 |
+
"sha256": "1abea16b9135c793e2c91a950ad3b12d3726d04b368f0e97a6774e8c3008fd51"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"path": "data/processed/train/avdense-train-00008.tar",
|
| 79 |
+
"split": "train",
|
| 80 |
+
"variant": "processed_gt_data",
|
| 81 |
+
"samples": 4517,
|
| 82 |
+
"source_bytes": 1073603660,
|
| 83 |
+
"tar_bytes": 1084835840,
|
| 84 |
+
"sha256": "34c3c07a5391c5823eb8cb0724c71ab7a3f01305ff36cea1d59b7d502cd25755"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"path": "data/processed/train/avdense-train-00009.tar",
|
| 88 |
+
"split": "train",
|
| 89 |
+
"variant": "processed_gt_data",
|
| 90 |
+
"samples": 3553,
|
| 91 |
+
"source_bytes": 838855194,
|
| 92 |
+
"tar_bytes": 847697920,
|
| 93 |
+
"sha256": "86591e76d006a3c5e967240aca7ea63b9abbde6d005398353cd2370bcde2bf9a"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"path": "data/processed/val/avdense-val-00000.tar",
|
| 97 |
+
"split": "val",
|
| 98 |
+
"variant": "processed_gt_data",
|
| 99 |
+
"samples": 4535,
|
| 100 |
+
"source_bytes": 1073687191,
|
| 101 |
+
"tar_bytes": 1084948480,
|
| 102 |
+
"sha256": "4332506fcebb7eea48e02f6e2fd88306302d05e13541dc817a13caee69d05cb6"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"path": "data/processed/val/avdense-val-00001.tar",
|
| 106 |
+
"split": "val",
|
| 107 |
+
"variant": "processed_gt_data",
|
| 108 |
+
"samples": 987,
|
| 109 |
+
"source_bytes": 234670729,
|
| 110 |
+
"tar_bytes": 237137920,
|
| 111 |
+
"sha256": "fe945cceee14109f36cc9b56c936677bb39e1d0cc22d9a8fbdb1e28e21abba53"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"path": "data/processed/test/avdense-test-00000.tar",
|
| 115 |
+
"split": "test",
|
| 116 |
+
"variant": "processed_gt_data",
|
| 117 |
+
"samples": 4543,
|
| 118 |
+
"source_bytes": 1073572721,
|
| 119 |
+
"tar_bytes": 1084876800,
|
| 120 |
+
"sha256": "abf971bf075466e9fbea87ab536e9cd91261c2aceb469c3b57bd0a704de02906"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"path": "data/processed/test/avdense-test-00001.tar",
|
| 124 |
+
"split": "test",
|
| 125 |
+
"variant": "processed_gt_data",
|
| 126 |
+
"samples": 980,
|
| 127 |
+
"source_bytes": 233126473,
|
| 128 |
+
"tar_bytes": 235571200,
|
| 129 |
+
"sha256": "ec59bb4067bb58e59f98661b4b74a4262b517f23dcf5262d703e8dde5aa8f9b3"
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"path": "data/legacy_480p_grpo/avdense-val480p-00000.tar",
|
| 133 |
+
"split": "val",
|
| 134 |
+
"variant": "480p_grpo",
|
| 135 |
+
"samples": 1503,
|
| 136 |
+
"source_bytes": 1073503562,
|
| 137 |
+
"tar_bytes": 1077084160,
|
| 138 |
+
"sha256": "6feaa82b8c187413641c6b8e3b7bb262e90f13c87c3b92e9a28d1f2595e84cdc"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"path": "data/legacy_480p_grpo/avdense-val480p-00001.tar",
|
| 142 |
+
"split": "val",
|
| 143 |
+
"variant": "480p_grpo",
|
| 144 |
+
"samples": 1550,
|
| 145 |
+
"source_bytes": 1073289772,
|
| 146 |
+
"tar_bytes": 1076981760,
|
| 147 |
+
"sha256": "c00f434f5ae510a8a366369a6cdf16e48ac1558cb566716da872e33984b10dca"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"path": "data/legacy_480p_grpo/avdense-val480p-00002.tar",
|
| 151 |
+
"split": "val",
|
| 152 |
+
"variant": "480p_grpo",
|
| 153 |
+
"samples": 1572,
|
| 154 |
+
"source_bytes": 1073316912,
|
| 155 |
+
"tar_bytes": 1077053440,
|
| 156 |
+
"sha256": "71cd2ad99198408de371da2894d1de1e30304819b6a71158201cfd5d2135b1b9"
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"path": "data/legacy_480p_grpo/avdense-val480p-00003.tar",
|
| 160 |
+
"split": "val",
|
| 161 |
+
"variant": "480p_grpo",
|
| 162 |
+
"samples": 897,
|
| 163 |
+
"source_bytes": 631632014,
|
| 164 |
+
"tar_bytes": 633774080,
|
| 165 |
+
"sha256": "f426672a48f84c9120d97fd8705643c41fd9e66e8a3d0239ed34ae94f3a87156"
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"total_samples_including_legacy_variant": 60745,
|
| 169 |
+
"total_tar_bytes": 17118945280
|
| 170 |
+
}
|
metadata/AV60KDenseBench.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/AV69kDense-vanilla-max4s.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8f1077b526446e2e04a77ec675404310c3e2b16ac68a95ad1e07573170d2d41
|
| 3 |
+
size 31460552
|
metadata/align_csv.py
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pandas as pd
|
| 2 |
+
import os
|
| 3 |
+
import sys
|
| 4 |
+
|
| 5 |
+
def align_csv_structure(csv1_path, csv2_path):
|
| 6 |
+
"""
|
| 7 |
+
Reads csv1 and csv2, reformats csv1 to match csv2's columns,
|
| 8 |
+
and overwrites csv1.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
# 1. 读取 CSV 文件
|
| 12 |
+
try:
|
| 13 |
+
df1 = pd.read_csv(csv1_path)
|
| 14 |
+
df2 = pd.read_csv(csv2_path)
|
| 15 |
+
except FileNotFoundError as e:
|
| 16 |
+
print(f"Error: {e}")
|
| 17 |
+
return
|
| 18 |
+
|
| 19 |
+
# 获取目标列结构 (来自 csv2)
|
| 20 |
+
target_columns = df2.columns.tolist()
|
| 21 |
+
|
| 22 |
+
# 2. 遍历目标列,处理 csv1 中缺失的列
|
| 23 |
+
for col in target_columns:
|
| 24 |
+
if col in df1.columns:
|
| 25 |
+
# 如果 csv1 已经有这个列,跳过(保留原数据)
|
| 26 |
+
continue
|
| 27 |
+
|
| 28 |
+
# 如果 csv1 缺少这个列,根据 pattern 进行生成或填充默认值
|
| 29 |
+
if col == 'id':
|
| 30 |
+
# Pattern: 从 path 中提取文件名(不带扩展名)
|
| 31 |
+
df1['id'] = df1['path'].apply(lambda x: os.path.splitext(os.path.basename(x))[0] if pd.notnull(x) else '')
|
| 32 |
+
|
| 33 |
+
elif col == 'relpath':
|
| 34 |
+
# Pattern: 从 path 中提取完整文件名
|
| 35 |
+
df1['relpath'] = df1['path'].apply(lambda x: os.path.basename(x) if pd.notnull(x) else '')
|
| 36 |
+
|
| 37 |
+
elif col == 'audio_id':
|
| 38 |
+
# Pattern: 从 audio_path 中提取文件名(不带扩展名)
|
| 39 |
+
if 'audio_path' in df1.columns:
|
| 40 |
+
df1['audio_id'] = df1['audio_path'].apply(lambda x: os.path.splitext(os.path.basename(x))[0] if pd.notnull(x) else '')
|
| 41 |
+
else:
|
| 42 |
+
df1['audio_id'] = ''
|
| 43 |
+
|
| 44 |
+
elif col == 'audio_fps':
|
| 45 |
+
# 默认填充 16000 (参考 csv2 的常见值,或者是 NaN)
|
| 46 |
+
df1['audio_fps'] = 16000
|
| 47 |
+
|
| 48 |
+
# 处理 Category Title 列 (例如 cat0_title)
|
| 49 |
+
elif 'title' in col and col.startswith('cat'):
|
| 50 |
+
# 由于没有 ID 到 Title 的映射表,这里留空
|
| 51 |
+
df1[col] = ''
|
| 52 |
+
|
| 53 |
+
# 其他技术参数 (num_frames, height, width, fps, aes, flow, ocr 等)
|
| 54 |
+
else:
|
| 55 |
+
# 填充为空值 (NaN),表示数据缺失
|
| 56 |
+
df1[col] = pd.NA
|
| 57 |
+
|
| 58 |
+
# 3. 重新排序并筛选列,确保与 csv2 完全一致
|
| 59 |
+
# reindex 会自动丢弃 csv1 中多余的列(如果 csv2 没有的话),并对齐顺序
|
| 60 |
+
df1_final = df1.reindex(columns=target_columns)
|
| 61 |
+
|
| 62 |
+
# 4. 覆盖保存 csv1
|
| 63 |
+
df1_final.to_csv(csv1_path, index=False)
|
| 64 |
+
print(f"Successfully processed and overwritten: {csv1_path}")
|
| 65 |
+
print(f"Columns aligned: {len(target_columns)}")
|
| 66 |
+
|
| 67 |
+
if __name__ == "__main__":
|
| 68 |
+
if len(sys.argv) != 3:
|
| 69 |
+
print("Usage: python align_csv.py <csv-to-align> <reference-schema-csv>", file=sys.stderr)
|
| 70 |
+
raise SystemExit(2)
|
| 71 |
+
align_csv_structure(sys.argv[1], sys.argv[2])
|
metadata/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8e95edbf670be2492c76da56d7babd9364122828bee0a2e9b83f2553888d583
|
| 3 |
+
size 52614917
|
metadata/val.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|