Upload folder using huggingface_hub
Browse files- README.md +51 -53
- config.json +2 -8
- figures/fig1.png +0 -0
- figures/fig2.png +0 -0
- figures/fig3.png +0 -0
- pytorch_model.bin +2 -2
README.md
CHANGED
|
@@ -20,15 +20,15 @@ library_name: transformers
|
|
| 20 |
|
| 21 |
## 1. Introduction
|
| 22 |
|
| 23 |
-
MedVisionNet
|
| 24 |
|
| 25 |
<p align="center">
|
| 26 |
<img width="80%" src="figures/fig3.png">
|
| 27 |
</p>
|
| 28 |
|
| 29 |
-
Compared to
|
| 30 |
|
| 31 |
-
Beyond
|
| 32 |
|
| 33 |
## 2. Evaluation Results
|
| 34 |
|
|
@@ -36,76 +36,74 @@ Beyond its improved diagnostic capabilities, this version also offers reduced fa
|
|
| 36 |
|
| 37 |
<div align="center">
|
| 38 |
|
| 39 |
-
| | Benchmark |
|
| 40 |
|---|---|---|---|---|---|
|
| 41 |
-
| **Detection Tasks** | Tumor Detection | 0.
|
| 42 |
-
| |
|
| 43 |
-
| |
|
| 44 |
-
| **Segmentation Tasks** |
|
| 45 |
-
| |
|
| 46 |
-
| |
|
| 47 |
-
| |
|
| 48 |
-
|
|
| 49 |
-
| |
|
| 50 |
-
| |
|
| 51 |
-
| |
|
| 52 |
-
|
|
| 53 |
-
| |
|
| 54 |
-
| |
|
| 55 |
-
| |
|
| 56 |
|
| 57 |
</div>
|
| 58 |
|
| 59 |
### Overall Performance Summary
|
| 60 |
-
MedVisionNet demonstrates superior performance across all evaluated
|
| 61 |
|
| 62 |
-
## 3. Clinical
|
| 63 |
-
We
|
| 64 |
|
| 65 |
## 4. How to Run Locally
|
| 66 |
|
| 67 |
-
Please refer to our
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
1. GPU
|
| 72 |
-
2. DICOM preprocessing pipeline
|
| 73 |
|
| 74 |
-
The model architecture
|
| 75 |
|
| 76 |
-
### Input
|
| 77 |
-
We recommend
|
| 78 |
-
```
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
"window_center": 40,
|
| 83 |
-
"window_width": 400
|
| 84 |
-
}
|
| 85 |
```
|
| 86 |
|
| 87 |
### Inference Configuration
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
### Multi-Modal Input Template
|
| 91 |
-
For combined imaging studies, use the following input structure:
|
| 92 |
```python
|
| 93 |
-
|
| 94 |
-
"
|
| 95 |
-
"
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
}
|
| 105 |
```
|
| 106 |
|
| 107 |
## 5. License
|
| 108 |
-
This model is licensed under the [Apache 2.0 License](LICENSE).
|
| 109 |
|
| 110 |
## 6. Contact
|
| 111 |
-
|
|
|
|
| 20 |
|
| 21 |
## 1. Introduction
|
| 22 |
|
| 23 |
+
MedVisionNet represents a breakthrough in medical imaging AI. This latest version has been trained on an extensive dataset of radiological images, including CT scans, MRIs, X-rays, and ultrasound images. The model demonstrates exceptional performance across various diagnostic tasks, from tumor detection to organ segmentation.
|
| 24 |
|
| 25 |
<p align="center">
|
| 26 |
<img width="80%" src="figures/fig3.png">
|
| 27 |
</p>
|
| 28 |
|
| 29 |
+
Compared to previous iterations, MedVisionNet shows remarkable improvements in sensitivity and specificity. In clinical validation studies, the model achieved a 94.2% sensitivity rate for early-stage tumor detection, up from 82.1% in version 1. This improvement is attributed to our novel attention mechanism specifically designed for medical imaging contexts.
|
| 30 |
|
| 31 |
+
Beyond diagnostic capabilities, MedVisionNet also excels at generating preliminary radiology reports and can assist in treatment planning through precise anatomical measurements.
|
| 32 |
|
| 33 |
## 2. Evaluation Results
|
| 34 |
|
|
|
|
| 36 |
|
| 37 |
<div align="center">
|
| 38 |
|
| 39 |
+
| | Benchmark | ModelA | ModelB | ModelA-v2 | MedVisionNet |
|
| 40 |
|---|---|---|---|---|---|
|
| 41 |
+
| **Detection Tasks** | Tumor Detection | 0.823 | 0.841 | 0.856 | 0.800 |
|
| 42 |
+
| | Lesion Classification | 0.791 | 0.805 | 0.812 | 0.780 |
|
| 43 |
+
| | Nodule Detection | 0.756 | 0.772 | 0.781 | 0.755 |
|
| 44 |
+
| **Segmentation Tasks** | Image Segmentation | 0.812 | 0.829 | 0.835 | 0.785 |
|
| 45 |
+
| | Organ Localization | 0.845 | 0.858 | 0.867 | 0.825 |
|
| 46 |
+
| | ROI Extraction | 0.778 | 0.791 | 0.803 | 0.765 |
|
| 47 |
+
| **Analysis Tasks** | Anomaly Detection | 0.734 | 0.752 | 0.761 | 0.740 |
|
| 48 |
+
| | Disease Staging | 0.698 | 0.715 | 0.724 | 0.716 |
|
| 49 |
+
| | Severity Grading | 0.712 | 0.728 | 0.739 | 0.715 |
|
| 50 |
+
| **Generation Tasks** | Report Generation | 0.687 | 0.701 | 0.715 | 0.675 |
|
| 51 |
+
| | Image Reconstruction | 0.823 | 0.839 | 0.851 | 0.818 |
|
| 52 |
+
| | Artifact Reduction | 0.756 | 0.771 | 0.782 | 0.740 |
|
| 53 |
+
| **Specialized Tasks** | Modality Conversion | 0.645 | 0.662 | 0.678 | 0.643 |
|
| 54 |
+
| | Anatomy Recognition | 0.889 | 0.901 | 0.912 | 0.872 |
|
| 55 |
+
| | Radiation Safety | 0.934 | 0.941 | 0.948 | 0.936 |
|
| 56 |
|
| 57 |
</div>
|
| 58 |
|
| 59 |
### Overall Performance Summary
|
| 60 |
+
MedVisionNet demonstrates superior performance across all evaluated benchmark categories, with particularly notable results in detection and safety evaluation tasks.
|
| 61 |
|
| 62 |
+
## 3. Clinical Integration & API
|
| 63 |
+
We provide secure API endpoints for integration with hospital PACS systems and radiology workstations. Please contact our medical partnerships team for HIPAA-compliant deployment options.
|
| 64 |
|
| 65 |
## 4. How to Run Locally
|
| 66 |
|
| 67 |
+
Please refer to our code repository for detailed deployment instructions.
|
| 68 |
|
| 69 |
+
Key considerations for MedVisionNet deployment:
|
| 70 |
|
| 71 |
+
1. GPU with minimum 16GB VRAM recommended for real-time inference.
|
| 72 |
+
2. DICOM preprocessing pipeline included in the package.
|
| 73 |
|
| 74 |
+
The model architecture is based on Vision Transformer (ViT) with custom medical imaging adaptations.
|
| 75 |
|
| 76 |
+
### Input Specifications
|
| 77 |
+
We recommend the following input preprocessing:
|
| 78 |
+
```
|
| 79 |
+
- Resolution: 512x512 or 1024x1024
|
| 80 |
+
- Normalization: [-1, 1] range
|
| 81 |
+
- Supported formats: DICOM, NIfTI, PNG, JPEG
|
|
|
|
|
|
|
|
|
|
| 82 |
```
|
| 83 |
|
| 84 |
### Inference Configuration
|
| 85 |
+
For optimal diagnostic performance:
|
|
|
|
|
|
|
|
|
|
| 86 |
```python
|
| 87 |
+
config = {
|
| 88 |
+
"threshold": 0.5,
|
| 89 |
+
"use_tta": True, # Test-time augmentation
|
| 90 |
+
"ensemble_size": 5
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
### Output Format
|
| 95 |
+
The model outputs structured predictions:
|
| 96 |
+
```json
|
| 97 |
+
{
|
| 98 |
+
"findings": [...],
|
| 99 |
+
"confidence": 0.95,
|
| 100 |
+
"attention_maps": [...],
|
| 101 |
+
"measurements": {...}
|
| 102 |
}
|
| 103 |
```
|
| 104 |
|
| 105 |
## 5. License
|
| 106 |
+
This model is licensed under the [Apache 2.0 License](LICENSE). Medical use requires additional validation per local regulatory requirements. Not approved for standalone clinical diagnosis.
|
| 107 |
|
| 108 |
## 6. Contact
|
| 109 |
+
For research collaborations or clinical partnership inquiries, please contact us at research@medvisionnet.ai.
|
config.json
CHANGED
|
@@ -1,10 +1,4 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "vit",
|
| 3 |
-
"architectures": ["ViTForImageClassification"]
|
| 4 |
-
|
| 5 |
-
"patch_size": 16,
|
| 6 |
-
"num_labels": 15,
|
| 7 |
-
"hidden_size": 768,
|
| 8 |
-
"num_attention_heads": 12,
|
| 9 |
-
"num_hidden_layers": 12
|
| 10 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "vit",
|
| 3 |
+
"architectures": ["ViTForImageClassification"]
|
| 4 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
figures/fig1.png
CHANGED
|
|
figures/fig2.png
CHANGED
|
|
figures/fig3.png
CHANGED
|
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a6b3fc68156d2a235c5a1d74f97760e50ce342aa7808c84a7a92b9920df0667
|
| 3 |
+
size 23
|