Skip to content

SciPritchardLab/pytorch_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batteries Included PyTorch Tutorial

python pytorch

This is a basic PyTorch tutorial. To get started, simply git clone this repo and cd into the folder:

git clone https://github.com/SciPritchardLab/pytorch_tutorial.git
cd pytorch_tutorial

Then, install and activate the conda environment.

conda env create -f environment.yaml
conda activate tutorialenv

The environment.yml assumes you are using MacOS. A pull request adding environments for Linux and Windows would be welcomed.

To play with the marimo notebook simply enter:

marimo edit train_marimo.py

To train models and iterate from the command line, simply enter:

python train.py --config-name=config_default

You can run additional experiments simply by modifying the config file or creating and using new config files.

This repo accompanies slides found here:

https://docs.google.com/presentation/d/1DdT6Eud3avT4K-5UCgyNKGxF5ZIqAuIaJ_-74hpAxf0/edit?usp=sharing

About

Creating a PyTorch tutorial for UCI ESS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages