GillianGrayson / dnamvae

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Your Project Name

PyTorch Lightning Config: Hydra Template
Paper Conference

Description

What it does

How to run

Install dependencies

# clone project
git clone https://github.com/YourGithubName/your-repo-name
cd your-repo-name

# [OPTIONAL] create conda environment
conda env create -f conda_env_gpu.yaml -n myenv
conda activate myenv

# install requirements
pip install -r requirements.txt

Train model with default configuration

# default
python run.py

# train on CPU
python run.py trainer.gpus=0

# train on GPU
python run.py trainer.gpus=1

Train model with chosen experiment configuration from configs/experiment/

python run.py experiment=experiment_name

You can override any parameter from command line like this

python run.py trainer.max_epochs=20 datamodule.batch_size=64

About

License:MIT License


Languages

Language:Python 88.2%Language:R 7.3%Language:MATLAB 4.6%