konpat/lsun-bedroom-256-lmdb
收藏Hugging Face2026-02-04 更新2026-03-29 收录
下载链接:
https://hf-mirror.com/datasets/konpat/lsun-bedroom-256-lmdb
下载链接
链接失效反馈官方服务:
资源简介:
---
pretty_name: "LSUN Bedroom 256x256 (LMDB) for DiffAE"
tags:
- lsun
- bedroom
- lmdb
- images
- diffae
task_categories:
- unconditional-image-generation
size_categories:
- 1M<n<10M
license: other
---
# 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.mdb`
- `bedroom256.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 small `lock.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)**
```python
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:
```yaml
data:
name: bedroom_hf
hf:
bedroom_repo_id: konpat/lsun-bedroom-256-lmdb
```
Or programmatically:
```python
from diffae.hf_data import BedroomHFDataset
dset = BedroomHFDataset(repo_id="konpat/lsun-bedroom-256-lmdb")
```
提供机构:
konpat



