Views
No views yet
| Metric | Value |
|---|---|
| Accuracy | 0.9815 |
| Intersection Over Union (IoU) | 0.9509 |
| Dice Score | 0.9794 |
1import torch
2
3# Load the trained model from the Models directory
4model = torch.load("path/to/model.pth")
5model.eval()
6
7# For inference on WSI patches
8with torch.no_grad():
9 output = model(input_patches)
10 # Output will be binary tissue masks