ahmedfgad / GeneticAlgorithmPython

Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
https://pygad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.79k stars 451 forks source link

KerasGA Parellel Processing #225

Closed dowling-john closed 10 months ago

dowling-john commented 10 months ago

Hey Guys,

A quick question, I am using the framework to train a tensorflow model but the training is painfully slow so I am looking at ways to speed it up,

If I have any more then 2 solutions per generation and any more then 100 generations then we are talking over a day to train.

I can see that the general GA class has a parellel_processing attribute but this is not in the KerasGA is this something that could be supported ?

Thanks

John

dowling-john commented 10 months ago

Closing as I am a doughnut lol