ViRAP / README.md
edzee3000's picture
Add named ViRAP manifests and 100 held-out PETAL test targets
fe13c4c verified
|
Raw History Blame Contribute Delete
3.3 kB
metadata
task_categories:
  - image-to-image
language:
  - en
  - zh
size_categories:
  - 10K<n<100K

ViRAP

Photography style-transfer research corpus with PETAL-generated target images.

Named triplet manifests

Directory JSON Exact count Role
ViRAP-50000 triplets.json 59,100 Complete original training split; nominal dataset name
ViRAP-5000 triplets.json 5,000 790 human-kept records and 4,210 heuristic additions from training
ViRAP-5000 triplets_audited_4960.json 4,960 Metadata-audited derivative after removing 40 candidates
ViRAP-500 triplets.json 500 400 existing test pairs plus 100 newly sampled PETAL-generated test pairs

The three requested dataset names are retained verbatim. Use count for exact sizes. ViRAP-5000 is a subset of ViRAP-50000, not an independent split. selection_source distinguishes human-kept records from heuristic additions; do not describe all 5,000 as human-reviewed. The audited derivative is retained separately rather than silently restoring removed candidates.

ViRAP-500 contains no diagnostic/self-reference cases. Both source roles come exclusively from the frozen test source pool, with no source-key, SHA256 or recorded duplicate-group overlap with train/validation. The 100 added directed pairs do not duplicate any original pair; their targets use the same released PETAL teacher settings (FP32, maximum edge 768, style input 512, guidance 1). Source images can recur across test pairs. The first 400 cases were previously used for development analysis; this release is not a claim of an untouched final blind test or exhaustive scene/photographer isolation. Teacher-output similarity measures distillation fidelity, not independent human aesthetic preference.

Paths and original files

All paths in the named JSON files resolve from the repository root, not from the JSON's subdirectory:

import json
from pathlib import Path
from PIL import Image
root = Path("ViRAP")
data = json.loads((root / "ViRAP-500/triplets.json").read_text(encoding="utf-8"))
row = data["triplets"][0]
content = Image.open(root / row["content_path"])
reference = Image.open(root / row["reference_path"])
target = Image.open(root / row["target_path"])
  • Original Data/: existing deduplicated source files shared across triplets.
  • Generated_Outputs/: existing target images plus the 100 new test targets. Original images and outputs are unchanged.
  • Root triplets.json, triplets.jsonl, pairs.json and metadata/original_generation/ preserve the original 60,000-record snapshot: train 59,100, validation 400, test 400, diagnostic 100. They do not include the extension; use ViRAP-500/triplets.json for the 500-pair benchmark.
  • metadata/file_inventory.json describes the original upload; ViRAP-500/new_targets_inventory.json records hashes for the 100 added targets.
  • metadata/source_images.json retains original source provenance.

Download using hf download edzee3000/ViRAP --type dataset --local-dir ViRAP.

Source collections include DIV2K, Unsplash Lite, Wikimedia Commons, album covers and personal phone photos. Original source rights and terms apply. No blanket license is asserted for the mixed corpus.