|
Download README.md from wangxiaokang123/ref2va-samples-wds: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/datasets/wangxiaokang123/ref2va-samples-wds/resolve/main/README.md
- Command line
-
hf download hf://datasets/wangxiaokang123/ref2va-samples-wds/README.md
-
curl -L -o README.md https://huggingface.co/datasets/wangxiaokang123/ref2va-samples-wds/resolve/main/README.md
2.78 kB
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: train-*.tar | |
| dataset_info: | |
| features: | |
| - name: picture_1.png | |
| dtype: image | |
| - name: picture_2.png | |
| dtype: image | |
| - name: picture_3.png | |
| dtype: image | |
| - name: video_1.mp4 | |
| dtype: video | |
| - name: target.mp4 | |
| dtype: video | |
| - name: target_audio.wav | |
| dtype: audio | |
| - name: origin.mp4 | |
| dtype: video | |
| - name: json | |
| struct: | |
| - name: id | |
| dtype: string | |
| - name: split_group | |
| dtype: string | |
| - name: path_base | |
| dtype: string | |
| - name: prompt | |
| dtype: string | |
| - name: references | |
| list: | |
| - name: type | |
| dtype: string | |
| - name: label | |
| dtype: string | |
| - name: path | |
| dtype: string | |
| - name: include_audio | |
| dtype: bool | |
| - name: audio_label | |
| dtype: string | |
| - name: target | |
| struct: | |
| - name: video | |
| dtype: string | |
| - name: audio | |
| dtype: string | |
| - name: width | |
| dtype: int64 | |
| - name: height | |
| dtype: int64 | |
| - name: num_frames | |
| dtype: int64 | |
| - name: fps | |
| dtype: int64 | |
| - name: audio_sample_rate | |
| dtype: int64 | |
| - name: audio_channels | |
| dtype: int64 | |
| - name: waveform_samples_per_channel | |
| dtype: int64 | |
| - name: needs_audio_review | |
| dtype: bool | |
| - name: uncertain_audio_spans_seconds | |
| list: | |
| list: float64 | |
| - name: variant | |
| dtype: string | |
| - name: source_dir | |
| dtype: string | |
| - name: __key__ | |
| dtype: string | |
| - name: __url__ | |
| dtype: string | |
| # ref2va samples (WebDataset) | |
| 6 samples packed as WebDataset (`train-0000.tar`). Files of one sample share the key prefix and differ by suffix, so each suffix becomes a column: | |
| | column | content | | |
| |---|---| | |
| | `picture_{1,2,3}.png` | reference images (`<Picture N>`), None if unused | | |
| | `video_1.mp4` | reference video (`<Video 1>`), None if unused | | |
| | `target.mp4` / `target_audio.wav` | target video and its audio | | |
| | `origin.mp4` | full source clip (static variant only) | | |
| | `json` | original `dataset.jsonl` record + `variant`, `source_dir` | | |
| | key | variant | inputs | | |
| |---|---|---| | |
| | `cowgirl_1_878efab1_b03a7969_001-haiku` | haiku | picture_1.png, video_1.mp4 | | |
| | `cowgirl_1_878efab1_b03a7969_001-static` | static | picture_1.png, picture_2.png | | |
| | `roar_goes_on_1_507567cf_0c9dc8b0_001-haiku` | haiku | picture_1.png, picture_2.png | | |
| | `roar_goes_on_1_507567cf_0c9dc8b0_001-static` | static | video_1.mp4 | | |
| | `twin_snakes_1_28c1a0b3_006fedf2_001-haiku` | haiku | picture_1.png, picture_2.png, picture_3.png, video_1.mp4 | | |
| | `twin_snakes_1_28c1a0b3_006fedf2_001-static` | static | video_1.mp4 | | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("<repo_id>", split="train") | |
| ``` | |