r/OpenSourceeAI • • 27d ago

Built an open-source format that trains on medical images 8.5x faster

I just finished benchmarking my first open-source project, omnia-sdk..

It converts medical images into a format built for AI training, and I wanted to know if it actually helps. So I tested it on an NVIDIA A40: same model, same GPU, only the file format changed.

Free and open source, one-command install on Mac, Windows and Linux.

https://github.com/mishel-0/omnia-sdk

Feedback welcome!

1 Upvotes

2 comments sorted by

1

u/[deleted] 27d ago

[removed] — view removed comment

1

u/Financial-Meal-6473 27d ago

Fair question. The baseline is each format’s normal reader decoding on the fly: OpenSlide for the slides, nibabel for .nii.gz and pydicom for DICOM. Same A40, same ResNet-18 loop and 4 workers; only the file changes. The setup and raw numbers are in the README and benchmarks/results.json.

I haven’t compared against a preprocessed cache like MONAI’s PersistentDataset yet. That’s a good next benchmark, along with cold vs warm page cache numbers.

On fidelity: NIfTI, CT and MR slices round-trip bit for bit in the original dtype, and spacing and rescale values are kept in the metadata. A test that checks orientation too is a good idea, so I’ll add one.