Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaping load_dataset #1

Open
TylerLima opened this issue Feb 20, 2019 · 0 comments
Open

Shaping load_dataset #1

TylerLima opened this issue Feb 20, 2019 · 0 comments

Comments

@TylerLima
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant