Skip to content

Shaping load_dataset #1

Description

@TylerLima

When running your code, I'm getting an attribute error:
AttributeError: 'tuple' object has no attribute 'shape'
for your dataset_loader class when trying to shape a loaded image:
num_batches = int(np.ceil(images.shape[0] / float(batch_size)))
in the dataset_loader.py

I did modify the input to take in mnist dataset from keras in the but I don't think that should be the root cause of this issue, it could be though. Any ideas? SO suggested casting it as a numpy.array(image) but that wasn't allowed.

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