Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
LSUN Bedroom 256x256 (LMDB) for DiffAE
This dataset repo hosts the LSUN Bedroom train split packaged as a single LMDB
(bedroom256.lmdb) compatible with DiffAE’s legacy LMDB reader and the new
HF-backed bedroom_hf wrapper.
Related project: https://github.com/konpatp/diffae
What’s inside
bedroom256.lmdb/data.mdbbedroom256.lmdb/lock.mdb
Format
- Keys:
256-0000000,256-0000001, ... (7-digit zero-padded index) - Values: RGB images encoded as WebP (quality ~90), resized to 256x256
- Total images: 3,033,042
- Size: ~49.1 GB for
data.mdb(plus smalllock.mdb)
Origin / Licensing This is a repackaging of the LSUN Bedroom dataset. We do not own the data. Please consult the original LSUN terms and cite the LSUN paper if you use it.
How to download (raw LMDB)
from huggingface_hub import hf_hub_download
repo_id = "konpat/lsun-bedroom-256-lmdb"
data_path = hf_hub_download(
repo_id=repo_id,
repo_type="dataset",
filename="bedroom256.lmdb/data.mdb",
local_dir="./hf_lmdb",
)
lock_path = hf_hub_download(
repo_id=repo_id,
repo_type="dataset",
filename="bedroom256.lmdb/lock.mdb",
local_dir="./hf_lmdb",
)
How to use in DiffAE In a YAML config:
data:
name: bedroom_hf
hf:
bedroom_repo_id: konpat/lsun-bedroom-256-lmdb
Or programmatically:
from diffae.hf_data import BedroomHFDataset
dset = BedroomHFDataset(repo_id="konpat/lsun-bedroom-256-lmdb")
- Downloads last month
- 46