Evolve PyTorch Lightning models from scratch using Genetic Algorithms & Backpropagation. All using default PyTorch and Lightning-AI (PyTorch Lightning & Bolts).
First, install dependencies
# clone project
git clone https://github.com/fredericosantos/pytorch-genesis
# install project
cd pytorch-genesis
pip install -e .
pip install -r requirements.txt
Next, navigate to the example notebook and open it.
@article{Frederico J.J.B. Santos,
title={Neuroevolution with box mutation: An adaptive and modular framework for evolving deep neural networks},
author={Ivo Gonçalves, Mauro Castelli},
journal={Applied Soft Computing},
year={2023}
}