KerasGA icon indicating copy to clipboard operation
KerasGA copied to clipboard

failed to allocate memory [Op:Sub]

Open Msnkhosravi opened this issue 3 years ago • 5 comments

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

Msnkhosravi avatar Jan 29 '22 23:01 Msnkhosravi

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

ahmedfgad avatar Jan 30 '22 17:01 ahmedfgad

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

Yuyuaj avatar Nov 28 '22 16:11 Yuyuaj

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.

ahmedfgad avatar Mar 01 '23 00:03 ahmedfgad

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

Yuyuaj avatar Mar 03 '23 09:03 Yuyuaj

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.

ahmedfgad avatar Mar 03 '23 11:03 ahmedfgad