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

failed to allocate memory [Op:Sub] #3

Open
Msnkhosravi opened this issue Jan 29, 2022 · 5 comments
Open

failed to allocate memory [Op:Sub] #3

Msnkhosravi opened this issue Jan 29, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Msnkhosravi
Copy link

Hi,

Trying to experiment your code but I have got this error "failed to allocate memory [Op:Sub]" when running on Colab. Any good idea how can I cope with this?

Thanks in advance

@ahmedfgad ahmedfgad self-assigned this Jan 30, 2022
@ahmedfgad ahmedfgad added the bug Something isn't working label Jan 30, 2022
@ahmedfgad
Copy link
Owner

You are running out of memory. Please take the resources offered by Colab in consideration.

@Yuyuaj
Copy link

Yuyuaj commented Nov 28, 2022

Hi Ahmed
Can we use this code for kerasga conv2d to creat conv1d for raw dataset????
If no what changes??

@ahmedfgad
Copy link
Owner

Hi Ahmed Can we use this code for kerasga conv2d to creat conv1d for raw dataset???? If no what changes??

KerasGA is expected to run on any Keras model. So, just create your model and pass it to KerasGA.

@Yuyuaj
Copy link

Yuyuaj commented Mar 3, 2023

I use 1d cnn butnot work with cnnga can i use cnnga with 1d cnn to tun prameters? And explore best prameter such as batchsiz epoch kernal

@ahmedfgad
Copy link
Owner

The cnnga module is not expected to work with 1D data.

Note that the cnnga module is limited and was used before supporting the kerasga and torchga modules. So, it is better to use them unless there is a reason to still use cnnga.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants