Skip to content
/ FUNERIA Public template
forked from ashleve/lightning-hydra-template

AI assisted segmentation of CT scanned funerary urns. Based on the PyTorch Lightning + Hydra framework by ashleve.

Notifications You must be signed in to change notification settings

N-Van/FUNERIA

 
 

Repository files navigation


FUNERIA

PyTorch Lightning Config: Hydra Template
Paper Conference

Description

AI assisted segmentation of CT-scanned funerary urns.

Installation

Pip

# clone project
git clone https://github.com/YourGithubName/FUNERIA
cd FUNERIA

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

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

# install requirements
pip install -r requirements.txt

Conda

# clone project
git clone https://github.com/YourGithubName/FUNERIA
cd FUNERIA

# create conda environment and install dependencies
conda env create -f environment.yaml -n FUNERIA

# activate conda environment
conda activate FUNERIA

How to run

Train model with default configuration

# train on CPU
python src/train.py trainer=cpu

# train on GPU
python src/train.py trainer=gpu

Train model with chosen experiment configuration from configs/experiment/

python src/train.py experiment=experiment_name.yaml

You can override any parameter from command line like this

python src/train.py trainer.max_epochs=20 data.batch_size=64

License

FUNERIA is licensed under the MIT License.

MIT License

Copyright (c) 2021 ashleve

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

AI assisted segmentation of CT scanned funerary urns. Based on the PyTorch Lightning + Hydra framework by ashleve.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Makefile 1.2%
  • Shell 0.3%