Skip to content

mctosima/compuvis-mct

Repository files navigation

MCT Computer Vision Playground

Framework used for this project

PyTorch

Wrapped using

Lightning

This project is organized using Hydra Template by Ashleve

Config: Hydra Template

Description

A random project about computer vision using PyTorch and PyTorch Lightning

How to run

Install dependencies

# clone project
git clone https://github.com/mctosima/compuvis-mct
cd your-repo-name

# [OPTIONAL] create conda environment
conda create -n myenv python=3.9
conda activate myenv

# install pytorch according to instructions
# https://pytorch.org/get-started/

# install requirements
pip install -r requirements.txt

Train model with default configuration

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

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

Train model with chosen experiment configuration from configs/experiment/

python train.py experiment=experiment_name.yaml

You can override any parameter from command line like this

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

About

My Public Playground for Computer Vision

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors