Downloads · 30 days
0
Ken2707/ultrasound-breast-cancer-V2
ultrasound-breast-cancer-V2 is a machine learning model from Ken2707. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Koleksi model untuk klasifikasi ultrasound payudara (benign, malignant, normal) dari 3 arsitektur berbeda.
Downloads · 30 days
0
Access
Public
Updated Mar 2, 2026
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.h51.2 GB · 100%
From the Hugging Face model README
Koleksi model untuk klasifikasi ultrasound payudara (benign, malignant, normal) dari 3 arsitektur berbeda.
resnet50_breast_cancer.h5 (weights asli)resnet50_breast_cancer.pthresnet50_metrics.jsonefficientnet_breast_cancer_original.pth (weights asli)efficientnet_breast_cancer_original.h5efficientnet_metrics_original.jsondensenet121_breast_cancer_original.pth (weights asli)densenet121_breast_cancer_original.h5densenet121_metrics_original.jsonimport tensorflow as tf
model = tf.keras.models.load_model('resnet50_breast_cancer.h5')
EfficientNet (PyTorch)
python
import torch
import torchvision.models as models
import torch.nn as nn
model = models.efficientnet_b7(pretrained=False)
model.classifier = nn.Linear(2560, 3)
model.load_state_dict(torch.load('efficientnet_breast_cancer_original.pth'))
model.eval()
DenseNet121 (PyTorch)
python
import torch
import torchvision.models as models
import torch.nn as nn
model = models.densenet121(pretrained=False)
model.classifier = nn.Linear(1024, 3)
model.load_state_dict(torch.load('densenet121_breast_cancer_original.pth'))
model.eval()
📁 Sumber Model
ResNet50: Kaggle Kernel
EfficientNet: Kaggle Kernel
DenseNet121: Kaggle Kernel
📝 Catatan
File .pth untuk model PyTorch berisi weights asli
File .h5 untuk model PyTorch hanya berisi metadata
Untuk ResNet50, file .h5 adalah weights asli (TensorFlow)