Downloads · 30 days
0
Jiahao123/tongue_segmentation_attenunet_YC_split
tongue_segmentation_attenunet_YC_split is a machine learning model from Jiahao123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Mar 6, 2025
Repo size
372 MB
Likes
0
Public
Click a slice to open those files.
.h5186 MB · 100%
From the Hugging Face model README
To load model:
repo_id = "Jiahao123/tongue_segmentation_attenunet_YC_split"
# Download files from Hugging Face
json_path = hf_hub_download(repo_id=repo_id, filename="attenunet_architecture.json")
weights_path = hf_hub_download(repo_id=repo_id, filename="attenunet_29.weights.h5")
# Load architecture
with open(json_path, "r") as json_file:
model_json = json_file.read()
test_model = model_from_json(model_json)
# Load weights
test_model.load_weights(weights_path)