Downloads · 30 days
0
subhanghuf/unet-damaged-flower-segmentation
unet-damaged-flower-segmentation is a image segmentation model from subhanghuf. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Model U-Net untuk segmentasi area kerusakan pada bunga.
Downloads · 30 days
0
Access
Public
Updated Feb 28, 2026
Repo size
23.6 MB
Likes
0
Public
Click a slice to open those files.
.h523.6 MB · 100%
From the Hugging Face model README
Model U-Net untuk segmentasi area kerusakan pada bunga.
Accurate Damaged Flower Shapes Segmentation (Kaggle)
| Metrik | Score |
|---|---|
| Accuracy | 0.9998 |
| F1 Score | 0.0000 |
| IoU | 0.0000 |
| Dice | 0.0000 |
from tensorflow.keras.models import load_model
import numpy as np
from PIL import Image
model = load_model('unet_flower_segmentation.h5', ...)
img = np.array(Image.open('bunga.jpg').resize((256, 256))) / 255.0
mask = model.predict(img[np.newaxis, ...])