Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
/ ahcore Public archive

Ahcore is the AI for Oncology core computational pathology toolkit

License

Notifications You must be signed in to change notification settings

NKI-AI/ahcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b0248e2 · Oct 3, 2024

History

54 Commits
Apr 3, 2024
Oct 3, 2024
Jul 8, 2024
Apr 3, 2024
Oct 3, 2024
Jun 29, 2024
Oct 15, 2023
Nov 4, 2023
Jul 8, 2024
Oct 26, 2023
Oct 15, 2023
Oct 15, 2023
Mar 28, 2024
Jun 26, 2024
Nov 4, 2023
Jul 30, 2024
Jul 15, 2024

Repository files navigation

AI for Oncology Core for Computational Pathology (ahcore)

Ahcore are the AI for Oncology core components for computational pathology. It provides a set of tools for working with pathology images and annotations. It also offers standard computational pathology algorithms.

Check the full documentation for more details on how to use ahcore.

License and Usage

Ahcore is not intended for clinical use. It is licensed under the Apache License 2.0.

Included Models

Ahcore comes with several models included, check the model zoo for more information:

  • Tissue/background segmentation in H&Es

Quickstart

To train a model, first make sure ahcore is installed:

git clone https://github.com/NKI-AI/ahcore.git && cd ahcore && pip install -e .

Next, make sure that the environmental variables are set correctly. We are using dotenv for this but you can set the variables themselves. Check tools/.env.example to see which variables you need to set. If you use dotenv, you will need to make a copy cp tools/.env.example tools/.env and fill in the correct values.

Next, you will need to create manifest, and once done, it's often beneficial to copy the data to a local drive, if its not there yet. You can use the ahcore data copy-data-from-manifest tool for this.