https://github.com/berenslab/genderbagnets

Interpretable gender classification from retinal fundus images using BagNets

https://github.com/berenslab/genderbagnets

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: medrxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Interpretable gender classification from retinal fundus images using BagNets

Basic Info
  • Host: GitHub
  • Owner: berenslab
  • License: gpl-3.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 28.3 MB
Statistics
  • Stars: 3
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 5 years ago · Last pushed almost 5 years ago

https://github.com/berenslab/genderBagNets/blob/main/

# genderBagNets
## About
This repository contains the code associated with the MICCAI 2021 paper [Interpretable gender classification from retinal fundus images using BagNets](https://www.medrxiv.org/content/10.1101/2021.06.21.21259243v1)
## Dependencies
All packages required for running the code in the repository are listed in the file _requirements.txt_
## Data
The code in this repository uses data downloaded from the UK Biobank(UKB). Due to the Material Transfer Agreement of UK Biobank, we can not share the data, but researchers can apply for access and subsidized fees are available.
## Code 
**BagNet Model** - BagNet-33 model with the best validation performance is provided in _modelstore/bagnet33/UKB_genderNet_bagnet33_imagenet_098_0.835.hdf5_

**Training and evaluation** - For training and evaluation of Inceptionv3 or variants of BagNets (9, 17, 33) on UKB data refer to _train_UKB.py_. 
For evaluation of the trained models refer to _evaluate.py_. 

**Generating saliency maps** - For generating saliency maps refer to the IPython notebook _Heatmaps.ipynb_. 

**Generating tSNE** - For generating tSNE plot on the test set refer to the IPython notebook _tSNE.ipynb_

**Generating kernel density plots** - For generating the Kernel Density Estimates (KDEs) refer to the IPython notebook _KernelDensities.ipynb_. 

Owner

  • Name: Berens Lab @ University of Tübingen
  • Login: berenslab
  • Kind: organization
  • Email: philipp.berens@uni-tuebingen.de
  • Location: Tübingen, Germany

Department of Data Science at the Hertie Institute for AI in Brain Health, University of Tübingen

GitHub Events

Total
Last Year

Dependencies

requirements.txt pypi
  • Click ==7.0
  • Jinja2 ==2.11.1
  • Keras ==2.3.1
  • Keras-Applications ==1.0.8
  • Keras-Preprocessing ==1.1.0
  • Lasagne ==0.2.dev1
  • Markdown ==3.2.1
  • MarkupSafe ==1.1.1
  • Pillow ==7.0.0
  • PyWavelets ==1.1.1
  • PyYAML ==5.3
  • Pygments ==2.5.2
  • QtPy ==1.9.0
  • Send2Trash ==1.5.0
  • Shapely ==1.7.1
  • Theano ==1.0.4
  • Werkzeug ==1.0.0
  • absl-py ==0.9.0
  • astor ==0.8.1
  • attrs ==19.3.0
  • backcall ==0.1.0
  • bagnets ==0.1
  • bleach ==3.1.1
  • boltons ==20.0.0
  • cachetools ==4.0.0
  • certifi ==2019.11.28
  • chardet ==3.0.4
  • cycler ==0.10.0
  • decorator ==4.4.2
  • defusedxml ==0.6.0
  • distro-info ===0.18ubuntu0.18.04.1
  • entrypoints ==0.3
  • et-xmlfile ==1.0.1
  • future ==0.18.2
  • gast ==0.2.2
  • google-auth ==1.11.2
  • google-auth-oauthlib ==0.4.1
  • google-pasta ==0.1.8
  • grpcio ==1.27.2
  • h5py ==2.10.0
  • idna ==2.9
  • image-classifiers ==1.0.0
  • imageio ==2.9.0
  • imgaug ==0.4.0
  • importlib-metadata ==1.5.0
  • ipykernel ==5.1.4
  • ipython ==7.13.0
  • ipython-genutils ==0.2.0
  • ipywidgets ==7.5.1
  • jdcal ==1.4.1
  • jedi ==0.16.0
  • joblib ==0.14.1
  • json5 ==0.9.2
  • jsonschema ==3.2.0
  • jupyter ==1.0.0
  • jupyter-client ==6.0.0
  • jupyter-console ==6.1.0
  • jupyter-contrib-core ==0.3.3
  • jupyter-contrib-nbextensions ==0.5.1
  • jupyter-core ==4.6.3
  • jupyter-highlight-selected-word ==0.2.0
  • jupyter-latex-envs ==1.4.6
  • jupyter-nbextensions-configurator ==0.4.1
  • jupyterlab ==2.0.1
  • jupyterlab-server ==1.0.7
  • kiwisolver ==1.1.0
  • lxml ==4.5.0
  • matplotlib ==3.2.0
  • mistune ==0.8.4
  • mock ==4.0.1
  • mypy ==0.761
  • mypy-extensions ==0.4.3
  • nbconvert ==5.6.1
  • nbformat ==5.0.4
  • networkx ==2.5
  • notebook ==6.0.3
  • numexpr ==2.7.1
  • numpy ==1.18.1
  • oauthlib ==3.1.0
  • opencv-python ==4.2.0.32
  • openpyxl ==3.0.6
  • pandas ==1.0.1
  • pandocfilters ==1.4.2
  • parso ==0.6.2
  • patsy ==0.5.1
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • prometheus-client ==0.7.1
  • prompt-toolkit ==3.0.3
  • protobuf ==3.11.3
  • ptyprocess ==0.6.0
  • pyasn1 ==0.4.8
  • pyasn1-modules ==0.2.8
  • pygobject ==3.26.1
  • pyparsing ==2.4.6
  • pyrsistent ==0.15.7
  • python-apt ==1.6.5
  • python-dateutil ==2.8.1
  • python-debian ==0.1.32
  • pytz ==2019.3
  • pyzmq ==19.0.0
  • qtconsole ==4.7.1
  • requests ==2.23.0
  • requests-oauthlib ==1.3.0
  • rsa ==4.0
  • scikit-image ==0.17.2
  • scikit-learn ==0.22.2.post1
  • scipy ==1.4.1
  • seaborn ==0.11.0
  • six ==1.14.0
  • sklearn ==0.0
  • statsmodels ==0.12.1
  • tables ==3.6.1
  • tensorboard ==1.14.0
  • tensorflow-estimator ==1.14.0
  • tensorflow-gpu ==1.14.0
  • tensorflow-hub ==0.7.0
  • termcolor ==1.1.0
  • terminado ==0.8.3
  • testpath ==0.4.4
  • tifffile ==2020.9.3
  • torch ==1.5.0
  • torchvision ==0.6.0
  • tornado ==6.0.4
  • tqdm ==4.43.0
  • traitlets ==4.3.3
  • typed-ast ==1.4.1
  • typing-extensions ==3.7.4.1
  • urllib3 ==1.25.8
  • wcwidth ==0.1.8
  • webencodings ==0.5.1
  • widgetsnbextension ==3.5.1
  • wrapt ==1.12.0
  • xlrd ==2.0.1
  • zipp ==3.1.0