Downloads · 30 days
94
100% of all-time downloads
zeahub/openpros-inversion-net
openpros-inversion-net is a image-to-image model from zeahub. Use it when you need one image transformed into another. It is set up for zea. The card lists the license as cc-by-4.0.
Keras 3 port of the pretrained InversionNet baseline released with the OpenPros limited-view prostate ultrasound computed tomography (USCT) benchmark. It reconstructs a speed-of-sound map directly from simulated multi…
Downloads · 30 days
94
100% of all-time downloads
All-time downloads
94
Public
Repo size
164 MB
Likes
0
Public
Click a slice to open those files.
.h582.2 MB · 50%
From the Hugging Face model README
Keras 3 port of the pretrained InversionNet baseline released with the OpenPros limited-view prostate ultrasound computed tomography (USCT) benchmark. It reconstructs a speed-of-sound map directly from simulated multi-source waveform data, without an iterative solver.
Because it is a Keras 3 model, it runs on the JAX, TensorFlow and PyTorch backends. The
weights are converted from the original PyTorch checkpoint (model.pth, also in this repo)
and reproduce its output to within float32 round-off (max abs. difference ~4e-5).
from zea.models.inversionnet import InversionNet
model = InversionNet.from_preset("inversionnet-openpros")
sos = model(waveforms) # (B, 1000, 161, 40) -> (B, 401, 161, 1), in [-1, 1]
Inputs are waveforms of shape (batch, 1000 time samples, 161 receivers, 40 source/receiver combinations).
The weights only work on input scaled the way they were trained, and mis-scaled input degrades the reconstruction silently rather than raising:
t(x) = sign(x) * log1p(|k * x|), with k = 1e5.[t(-0.25), t(0.45)] to [-1, 1], where -0.25 / 0.45 are the OpenPros
data_min / data_max from its dataset_config.json.The output is in [-1, 1] and maps linearly onto the OpenPros label range, 1300–3600 m/s.
kis part of the weights, not a tunable. The OpenPros job scripts pass--k 1e9, butk = 1e5is what reproduces this checkpoint on the released data: on the OpenPros sample it gives a mean absolute error of 14 m/s against the ground-truth map, wherek = 1e9gives 244 m/s. The optimum is sharp — an order of magnitude either way costs roughly 3x in error.
See the zea documentation for the full pipeline.
The architecture, the training data and these weights are the work of the OpenPros and InversionNet authors — please cite both when you use this model:
Licensed CC-BY-4.0, following the original OpenPros release.
Converted and hosted as part of OpenH-RF, an open ultrasound channel-data initiative by NVIDIA, TU/e and Stanford, and distributed through zea.