djanloo / cmepda

An LSTM + Encoder network for UHECR AirShowers
1 stars 2 forks source link

DataFeeder class is not compatible with keras #4

Closed djanloo closed 2 years ago

djanloo commented 2 years ago

Must be aligned to something like https://stanford.edu/~shervine/blog/keras-how-to-generate-data-on-the-fly

djanloo commented 2 years ago

Now training can be done over DataFeederKeras class instances (training speedup achieved of ~ 20%, allegedly due to tf.keras.utils.Sequence inherited multiprocessing features). However this caused a slowdown in prediction times.