-
Notifications
You must be signed in to change notification settings - Fork 138
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
Keras generators does not work #761
Comments
Is this based on any Kymatio example? I'd try eliminating any |
The error has been generated by executing the reported code. The code is not based on any kymatio example because they assume that the dataset fits the main memory, but it is not true in most of the cases. |
TF2 @robertanto: This is almost 2 years old, but just in case, have you found a workaround? I don't think that a downgrade to 2.0 is still necessary. Does
This isn't really a preferred approach, generally speaking. |
Unfortunately, I am not working on that project anymore. The only workaround I found was to precompute the features and then read them as images. |
Dear kymatio team,
I am trying to train a Keras Neural Network based on the Scattering1D layer. Due to the huge quantity of data, I have implemented a keras.utils.Sequence generator for accessing to my data. But I got the following error:
I am using Tensorflow 2.0.0, in particular, tensorflow.keras together with kymatio-0.2.1.
Here a simple code to reproduce the error (I tried on google colab, if you try it on colab remember to downgrade tensorflow to 2.0.0).
The text was updated successfully, but these errors were encountered: