lim-anggun / keras-imagedatagenerator Goto Github PK
View Code? Open in Web Editor NEWA customized real-time ImageDataGenerator for Keras
A customized real-time ImageDataGenerator for Keras
I'm trying to make an AutoEncoder using the keras ImageDataGenerator function. Now because I want to build an Autoencoder, I dont require the image labels because the Y_train of my dataset are not labels but images itself.
When I try to fit my model and pass X_train and Y_train it shows an error :
y argument is not supported when using keras.utils.Sequence as input.
How can I get away with this.
Thanks for your post. It's very helpful for me.
But during running the code for CamVid dataset, I got an error syaing "AttributeError: 'tuple' object has no attribute 'ndim'". I think this comes from the "zip" function. But I have no idea about a solution.
Did you get the same issue as mine?
MemoryError Traceback (most recent call last)
Input In [16], in <cell line: 1>()
4 size = layer_activation.shape[1] #The feature map has shape (1, size, size, n_features).
5 n_cols = n_features // images_per_row # Tiles the activation channels in this matrix
----> 6 display_grid = np.zeros((size * n_cols, images_per_row * size))
7 for col in range(n_cols): # Tiles each filter into a big horizontal grid
8 for row in range(images_per_row):
MemoryError: Unable to allocate 64.0 GiB for an array with shape (262144, 32768) and data type float64
Hi,
Do you know how to implement flow from directory when using .npy files?
Best,
Kirsten
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.