The dataset viewer is not available for this split.
Server error while post-processing the split rows. Please report the issue.
Error code: RowsPostProcessingError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CelebA-HQ 64x64
Dataset Description
The 64×64 resolution version of CelebA-HQ, containing 30,000 images.
Images are encoded in Base64 format.
Usage
You can refer to the official Parquet tutorial for using the dataset:
https://huggingface.co/docs/datasets/v1.12.0/loading.html#parquet
# Load the dataset from Parquet files
base_url = "https://huggingface.co/datasets/BeibeiLim/celeba_hq_64/resolve/main/data/"
data_files = {
"train": [f"{base_url}data-{i:05d}-of-00006.parquet" for i in range(6)]
}
dataset = load_dataset("parquet", data_files=data_files, split="train")
# Example: Get one image and display it
sample = dataset[0]
base64_img = sample['image']
# Decode the base64 image
img_bytes = base64.b64decode(base64_img)
img = Image.open(BytesIO(img_bytes)).convert('RGB')
# Convert to numpy array (optional)
image_array = np.array(img)
- Downloads last month
- 35