Skip to content

Lesson No. 3: Variational autoencoder code for CelebA dataset takes too long to load #25

@loganx-26x

Description

@loganx-26x

Specifically this code,

train_data = utils.image_dataset_from_directory( "celeba-dataset/img_align_celeba/img_align_celeba", labels = None, color_mode="rgb", image_size = (64, 64), batch_size = 128, shuffle=True, seed=42, interpolation="bilinear", )

takes about 20-30 minutes to load all of the 57,000 images from 'img_align_celeba' directory. Is everyone facing this issue or is it just me?

Edit: Attached the image for preview. It took 21 minutes this time as calculated with time module in Python:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions