Skip to content

Project contains some solutions to kaggle medical image datasets

License

Notifications You must be signed in to change notification settings

vahvero/kaggle-torch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaggle-torch

Project contains some solutions to kaggle medical image datasets. These solutions are provided mainly as examples. All scripts are implemented as terminal programs.

Installation

Create virtual environment and install. I expect 3.11.

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Brain tumor

Download data from brain tumor and extract.

Run script as module

python -m scripts.brain_tumor -lr 1e-4 \
    -bs 4 -e 1000 -d cuda:0 -p 30 \
    -m resnet34 --dataset-root assets/Brain\ Tumor \
    --outfolder runs/brain_tumor

This should produce a test accuracy of 99.20% and a test confusion matrix similar to

confusion matrix

with training graphs

training graphs

View script options with

python -m scripts.brain_tumor --help

Authors

This work is licenced with a MIT licence

About

Project contains some solutions to kaggle medical image datasets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages