From d6f142a23d3195f3397134a3d0d7a098add9e8cf Mon Sep 17 00:00:00 2001 From: Soroush Oskouei <57323986+SoroushOskouei@users.noreply.github.com> Date: Wed, 26 Jun 2024 21:45:01 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f70992..306a70a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ pip install -r requirements.txt # Development ## Automatic training with whole tumor annotation (WTA) -For this approach, after creating thumbnails of your WSIs, you need to create tissue clusters for balancing the data between various tissue types. For implementation details, see the comments in [ClusteringForTissueBalancing.py](ClusteringForTissueBalancing.py). +For this approach, after creating thumbnails of your WSIs, you need to create tissue clusters for balancing the data between various tissue types. For implementation details, see [ClusteringForTissueBalancing.py](ClusteringForTissueBalancing.py). You also need to create gradients which will be used to create a reliable tissue mask and for clustering in later codes [GenerateGradients.py](GenerateGradients.py). Before training, we also need to create positions of the patches in WSIs. To generate related patches and their labels you can use npy files or rgb image formats and save the annotation mask. In our code, annotation masks are saved as images and are used for label extraction linked with the patch position. For implementation see [PatchPositions.ipynb](notebooks/PatchPositions.ipynb). Finally, you can train your model using a code similar to [TrainingOnWSIPatches.ipynb](notebooks/TrainingOnWSIPatches.ipynb).