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)
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support