BreastCancerLymphNodeMetastasis
No description available
Install / Use
/learn @TencentAILabHealthcare/BreastCancerLymphNodeMetastasisREADME
Multi-center study on predicting breast cancer lymph node status from core needle biopsy specimens using multi-modal and multi-instance deep learning
Install
Dependencies
- Python >= 3.6.0
- torch >= 1.7.0
- pandas >= 1.1.5
- numpy >= 1.18.5
- scikit-learn >= 0.23.2
- scipy >= 1.5.2
- albumentations >= 0.4.6
- opencv-python >= 4.3.0.36
- rich >= 9.3.0
- pytorch-tabnet >= 2.0.1
- efficientnet-pytorch >= 0.7.0
Data
The data of this work could be requested by contacting with the corresponding author. The data can be used only for "non-commercial" purposes and under the permission of the corresponding author.
Checkpoint
The model checkpoint developed based on this clinical cohort could be found in checkpoint.7z file.
Usage
The test multimodal data (Whole Slide Imaging (WSI) and tabular data) should be pre-processed by first extracting offline patch features and then merging the patch features for each WSI.
The demo data in model input format could be found in sampledata.7z file.
- Extract offline features of each patch
python3 preprocessing/extract_feat_with_tta.py --level= x5
python3 preprocessing/extract_feat_with_tta.py --level= x10
python3 preprocessing/extract_feat_with_tta.py --level= x20
- Merge patch features for each WSI
python3 preprocessing/merge_patch_feat.py
- Model Inference based on multi-modal data
python3 -m torch.distributed.launch --nproc_per_node 4 --master_port=XXXX model_inference.py --cfg ./configs/test.yaml
- Expected output
The expected output of model inference is the prediction of the lymph node metastasis of each individual patient (no metastasis, ITCs, micrometastasis, and macrometastasis).
Disclaimer
This tool is for research purpose and not approved for clinical use.
This is not an official Tencent product.
Coypright
This tool is developed in Tencent AI Lab.
The copyright holder for this project is Tencent AI Lab.
All rights reserved.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Languages
Security Score
Audited on Mar 20, 2026
