Code Monkey home page Code Monkey logo

he-erbb2's Introduction

Deep Learning Identifies Morphological Features in Breast Cancer Predictive of Cancer ERBB2 Status and Trastuzumab Treatment Efficacy

πŸ“ Sample data and models

Download link (~3.3Gb)

he-erbb2-github-data
 β”œβ”€β”€ tissue-samples
 β”‚    β”œβ”€β”€ [ sample 1 ]
 β”‚    β”œβ”€β”€     ...
 β”‚    └── [ sample n ]
 └── models
      └── Her2
           β”œβ”€β”€ fold-1.pth
           β”œβ”€β”€ fold-2.pth
           β”œβ”€β”€ fold-3.pth
           β”œβ”€β”€ fold-4.pth
           └── fold-5.pth
    

πŸ”¬ Inference

Attach to the docker container and run:

python inference.py -c configs/inference-config.json

The script generates a .csv file with predicted scores.

βš™οΈ Running docker image

  • Clone the Repository
  • CD to the docker folder cd docker
  • Edit "DATA_VOLM" path in init-docker.sh - point to the data you downloaded through the linkd, e.g. /your/path/he-erbb2-github-data/. Other variables can remain default.
  • Build an image: ./build-docker.sh
  • Run a container: ./run-docker.sh
    • Containers run in an interactive mode
    • control + p, control + q will turn interactive mode into daemon mode, i.e. detach from a container without stopping it
    • Reattach container: docker attach [name]
    • Warning: control + a d – detach from TMUX session when inside a container. This will kill the container!

πŸ“ƒ Cite

Scientific Reports PDF
https://www.nature.com/articles/s41598-021-83102-6
DOI: https://doi.org/10.1038/s41598-021-83102-6

Bychkov, D., Linder, N., Tiulpin, A., KΓΌcΓΌkel, H., Lundin, M., Nordling, S., Sihto, H., Isola, J., LehtimΓ€ki, T., Kellokumpu‑Lehtinen, PL., von Smitten, K., Joensuu, H., Lundin, J. Deep learning identifies morphological features in breast cancer predictive of cancer ERBB2 status and trastuzumab treatment efficacy. Sci Rep 11, 4037 (2021)

πŸ“ License

This code is freely available only for research purposes. Commercial use is not allowed by any means.

he-erbb2's People

Contributors

bydmitry avatar fimm-lundin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fimm-lundin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.