This repository contains a demo of autoencoders. Source
python train.py --config-name <config>where <config> is a .yaml file in the configs folder.
- use
ecg_config.yamlfor 1D signal data config.yamlfor MNIST/CIFAR10 images
LTAFDB:
blue/green: original signal
red/orange: reconstructed signal
channel 0 on the left, channel 1 on the right
MNIST:
This repository uses pre-commit hooks with forced python formatting (black, flake8, and isort):
pip install pre-commit
pre-commit installWhenever you execute git commit the files altered / added within the commit will be checked and corrected.
black and isort can modify files locally - if that happens you have to git add them again.
You might also be prompted to introduce some fixes manually.
To run the hooks against all files without running git commit:
pre-commit run --all-files