Shadow0482 commited on
Commit
3dedef7
·
verified ·
1 Parent(s): bb9025f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -3
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # ResNet50-APTOS-DR (ONNX) - Single Clean File
2
 
3
  **5-class Diabetic Retinopathy classifier** ready for Raspberry Pi 5 and edge devices.
@@ -36,7 +46,7 @@ transform = transforms.Compose([
36
  transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
37
  ])
38
 
39
- img = Image.open("DR1.jpg").convert("RGB")
40
  input_tensor = transform(img).unsqueeze(0).numpy().astype(np.float32)
41
 
42
  output = session.run(None, {"input": input_tensor})[0][0]
@@ -48,5 +58,4 @@ print(f"✅ Predicted: {classes[pred_idx]} ({probs[pred_idx]*100:.1f}%)")
48
  ```
49
 
50
  **License**: MIT
51
- Made for low-resource diabetic retinopathy screening ❤️
52
-
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ base_model:
6
+ - sakshamkr1/ResNet50-APTOS-DR
7
+ pipeline_tag: image-classification
8
+ tags:
9
+ - onnx
10
+ ---
11
  # ResNet50-APTOS-DR (ONNX) - Single Clean File
12
 
13
  **5-class Diabetic Retinopathy classifier** ready for Raspberry Pi 5 and edge devices.
 
46
  transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
47
  ])
48
 
49
+ img = Image.open("Your_image").convert("RGB")
50
  input_tensor = transform(img).unsqueeze(0).numpy().astype(np.float32)
51
 
52
  output = session.run(None, {"input": input_tensor})[0][0]
 
58
  ```
59
 
60
  **License**: MIT
61
+ Made for low-resource diabetic retinopathy screening ❤️