MS3SEG
1
ā
by
Bawil
Other
OTHER
New
0 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
š Quick Startbash
pip install tensorflow>=2.10.0 nibabel numpyš Quick Startpython
from tensorflow import keras
from huggingface_hub import hf_hub_download
import numpy as np
# Download model
model_path = hf_hub_download(
repo_id="Bawil/MS3SEG",
filename="models/multi_class/U-Net_fold4.h5"
)
# Load model
model = keras.models.load_model(model_path, compile=False)
# Prepare your data (256x256 FLAIR image)
# image shape: (batch, 256, 256, 1)
predictions = model.predict(image)
# For multi-class: get class labels
pred_classes = np.argmax(predictions, axis=-1)
# Classes: 0=background, 1=ventricles, 2=normal WMH, 3=abnormal WMH
# For binary: apply threshold
pred_binary = (predictions > 0.5).astype(np.uint8)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.