Skip to main content

Stanford Knee MRI Multi-Task Evaluation (SKM-TEA) Dataset

Paper | Dataset Download | Dataset Docs | Tutorial | About

The 2021 Stanford Knee MRI with Multi-Task Evaluation (SKM-TEA) dataset pairs raw quantitative MRI (qMRI) data, image data, and dense labels of tissues and pathology for end-to-end exploration and evaluation of the MR imaging pipeline.

This repository contains the building blocks for training and benchmarking models with the SKM-TEA dataset, such as PyTorch dataloaders, evaluation metrics, and baselines. It also contains tutorials for using the dataset and codebase. It utilizes Meddlr and PyTorch Lightning for training, evaluation, and machine utilities.

⚡ QuickStart

pip install skm-tea

Installing locally: For local development, fork and clone the repo and run pip install -e ".[dev]"

_Installing from main: For most up-to-date code without a local install, run pip install "skm-tea @ git+https://github.com/StanfordMIMI/skm-tea@main"

Configure your paths and get going!

import meddlr as mr
import os

# (Optional) Configure and save machine/cluster preferences.
# This only has to be done once and will persist across sessions.
cluster = mr.Cluster()
cluster.set(results_dir="/path/to/save/results", data_dir="/path/to/datasets")
cluster.save()
# OR set these as environment variables.
os.environ["MEDDLR_RESULTS_DIR"] = "/path/to/save/results"
os.environ["MEDDLR_DATASETS_DIR"] = "/path/to/datasets"

# TODO: Add how to easily fetch dataset.

📝 Documentation

Documentation for downloading and using the SKM-TEA dataset can be found in DATASET.md. Benchmarks are constantly evolving - check this repository for up-to-date baselines.

🐘 Model Zoo

A list of pre-trained models can be found here and in Google Drive.

To use them, pass the google drive urls for the config and weights (model) files to st.build_deployment_model:

import skm_tea as st

# Make sure to add "download://" before the url!
model = st.get_model_from_zoo(
  cfg_or_file="download://https://drive.google.com/file/d/1DTSfmaGu2X9CpE5qW52ux63QrIs9L0oa/view?usp=sharing",
  weights_path="download://https://drive.google.com/file/d/1no9-COhdT2Ai3yuxXpSYMpE76hbqZTWn/view?usp=sharing",
)

✉️ About

This repository is being developed at the Stanford's MIMI Lab. Please reach out to arjundd [at] stanford [dot] edu if you would like to use or contribute to SKM-TEA.

If you use the SKM-TEA dataset or code, please use the following BibTex:

@inproceedings{desai2021skm,
  title={SKM-TEA: A Dataset for Accelerated MRI Reconstruction with Dense Image Labels for Quantitative Clinical Evaluation},
  author={Desai, Arjun D and Schmidt, Andrew M and Rubin, Elka B and Sandino, Christopher Michael and Black, Marianne Susan and Mazzoli, Valentina and Stevens, Kathryn J and Boutin, Robert and Re, Christopher and Gold, Garry E and others},
  booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},
  year={2021}
}

Metadata

Release files for skm-tea 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skm-tea 0.0.3
File Size Uploaded
skm-tea-0.0.3.tar.gz 136.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skm-tea 0.0.3
File Interpreter ABI Platform
skm_tea-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 209.9 kB

Release files / skm-tea-0.0.3.tar.gz

Download URL skm-tea-0.0.3.tar.gz
Size 136.8 kB
Tags Source
SHA-256 checksum
How to use checksums
49a1b27dad58305de87dd5636d04de8753437deb172f7fa49b65e29c2c8e295a
BLAKE2b-256 checksum
How to use checksums
299975c8ac8652ad3eec917fea87d194b0ca0e3fa0a1a8ef4890328138bfb76f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Release files / skm_tea-0.0.3-py2.py3-none-any.whl

Download URL skm_tea-0.0.3-py2.py3-none-any.whl
Size 73.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5402423585ec89868f9357d038ac56a5122342d39540e0f9fb44a606d310e0c0
BLAKE2b-256 checksum
How to use checksums
4fca3cf08c3f409784168d27b55fdb4a385dd84651ed458dd6ebcfc03dcbde4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page