Linked the public code repository MIC-DKFZ/3d_report_generation
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ tags:
|
|
| 23 |
|
| 24 |
[](https://arxiv.org/abs/2609.26924)
|
| 25 |
[](https://arxiv.org/abs/2608.08713)
|
| 26 |
-
[](https://github.com/MIC-DKFZ/
|
| 27 |
|
| 28 |
`nnFoundationViT-ReportGen-CT-RATE` generates radiology reports (findings and impression) for
|
| 29 |
**chest CT** volumes. Frozen [nnFoundationViT](https://huggingface.co/MIC-DKFZ/nnFoundationViT)
|
|
@@ -51,11 +51,11 @@ and the language model are downloaded from their own repositories.
|
|
| 51 |
## Usage
|
| 52 |
|
| 53 |
Reports are generated with
|
| 54 |
-
[`inference_nifti.py`](https://github.com/MIC-DKFZ/
|
| 55 |
-
[code repository](https://github.com/MIC-DKFZ/
|
| 56 |
|
| 57 |
```bash
|
| 58 |
-
git clone https://github.com/MIC-DKFZ/
|
| 59 |
uv sync --locked --python 3.12 --extra totalsegmentator
|
| 60 |
uv run hf download MIC-DKFZ/nnFoundationViT-ReportGen-CT-RATE --local-dir models/ctrate
|
| 61 |
|
|
@@ -67,7 +67,7 @@ uv run torchrun --standalone --nproc_per_node=<number of GPUs> inference_nifti.p
|
|
| 67 |
```
|
| 68 |
|
| 69 |
The reports are saved in `inference_results.json`. See
|
| 70 |
-
[report generation for NIfTI volumes](https://github.com/MIC-DKFZ/
|
| 71 |
for masks, offline use, and batching.
|
| 72 |
|
| 73 |
## Expected input
|
|
|
|
| 23 |
|
| 24 |
[](https://arxiv.org/abs/2609.26924)
|
| 25 |
[](https://arxiv.org/abs/2608.08713)
|
| 26 |
+
[](https://github.com/MIC-DKFZ/3d_report_generation)
|
| 27 |
|
| 28 |
`nnFoundationViT-ReportGen-CT-RATE` generates radiology reports (findings and impression) for
|
| 29 |
**chest CT** volumes. Frozen [nnFoundationViT](https://huggingface.co/MIC-DKFZ/nnFoundationViT)
|
|
|
|
| 51 |
## Usage
|
| 52 |
|
| 53 |
Reports are generated with
|
| 54 |
+
[`inference_nifti.py`](https://github.com/MIC-DKFZ/3d_report_generation/blob/main/inference_nifti.py) from the
|
| 55 |
+
[code repository](https://github.com/MIC-DKFZ/3d_report_generation), for a folder of NIfTI volumes:
|
| 56 |
|
| 57 |
```bash
|
| 58 |
+
git clone https://github.com/MIC-DKFZ/3d_report_generation.git && cd 3d_report_generation
|
| 59 |
uv sync --locked --python 3.12 --extra totalsegmentator
|
| 60 |
uv run hf download MIC-DKFZ/nnFoundationViT-ReportGen-CT-RATE --local-dir models/ctrate
|
| 61 |
|
|
|
|
| 67 |
```
|
| 68 |
|
| 69 |
The reports are saved in `inference_results.json`. See
|
| 70 |
+
[report generation for NIfTI volumes](https://github.com/MIC-DKFZ/3d_report_generation/blob/main/documentation/nifti_inference.md)
|
| 71 |
for masks, offline use, and batching.
|
| 72 |
|
| 73 |
## Expected input
|