Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: tensorflow
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- medical-imaging
|
| 6 |
+
- x-ray
|
| 7 |
+
- classification
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Chest X-Ray CNN
|
| 11 |
+
|
| 12 |
+
This repo stores a Keras model file: xray_cnn.keras
|
| 13 |
+
|
| 14 |
+
How to load in Python:
|
| 15 |
+
|
| 16 |
+
from huggingface_hub import hf_hub_download
|
| 17 |
+
import tensorflow as tf
|
| 18 |
+
|
| 19 |
+
p = hf_hub_download("ibrahim313/xray_cnn", filename="xray_cnn.keras")
|
| 20 |
+
model = tf.keras.models.load_model(p, compile=False)
|