EvoAug2 Examples API

This page documents the example scripts and their usage.

Lightning Module Example

The PyTorch Lightning integration example demonstrates:

Vanilla PyTorch Example

The vanilla PyTorch example shows basic integration:

Running Examples

Prerequisites:

# Install dependencies
pip install evoaug2[examples]

# Download DeepSTARR data
python -c "from evoaug_utils import utils; utils.download_deepstarr_data()"

Lightning Example:

python example_lightning_module.py

Vanilla PyTorch Example:

python example_vanilla_pytorch.py

Expected Outputs:

  • Trained model checkpoints (.ckpt files)

  • Performance comparison plots (.png files)

  • Training logs and evaluation metrics