Semantic Diffusion Posterior Sampling for Cardiac Ultrasound
Collection
Semantic Diffusion Posterior Sampling for Cardiac Ultrasound Dehazing • 4 items • Updated
How to use tristan-deep/semantic-diffusion-echo-dehazing with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://tristan-deep/semantic-diffusion-echo-dehazing")
Score-based generative diffusion model trained on the DehazeEcho2025 dataset. Used in the Semantic Diffusion Posterior Sampling for Cardiac Ultrasound Dehazing paper. See the GitHub repository for the codebase and more info.