Downloads · 30 days
0
Sarth001/LungCanver
LungCanver is a machine learning model from Sarth001. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned ResNet50 trained on the IQ-OTHNCCD Lung Cancer dataset. Classes: - Bengin cases - Malignant cases - Normal cases
Downloads · 30 days
0
Access
Public
Updated Nov 19, 2025
Repo size
567 MB
Likes
0
Public
Click a slice to open those files.
.pth565 MB · 100%
From the Hugging Face model README
This model is a fine-tuned ResNet50 trained on the IQ-OTHNCCD Lung Cancer dataset. Classes:
from huggingface_hub import hf_hub_download
import torch
from torchvision import models, transforms
from PIL import Image
ckpt = hf_hub_download(repo_id="Sarth001/LungCanver", filename="best_model_v2_fixed.pth")
state = torch.load(ckpt, map_location='cpu')["model_state_dict"]
model = models.resnet50(pretrained=False)
model.fc = torch.nn.Linear(model.fc.in_features, 3)
model.load_state_dict(state, strict=False)
model.eval()
For research/educational use only. Not for clinical diagnosis.