Summary
This repo currently provides a production-only pipeline (BIDS → HuggingFace Hub).
We are missing consumption features that would make this package a complete solution for neuroimaging researchers.
Installation Note
This package is installed as a git dependency (not on PyPI):
uv add git+https://github.com/The-Obstacle-Is-The-Way/neuroimaging-go-brrrr.git
# or
pip install git+https://github.com/The-Obstacle-Is-The-Way/neuroimaging-go-brrrr.git
Current State
| Feature |
Status |
| Production (BIDS → Hub upload) |
✅ Complete |
Hub consumption (load_dataset("hugging-science/...")) |
✅ Works (via upstream datasets) |
Local BIDS consumption (load_dataset('bids', data_dir='/path')) |
❌ Missing |
| Memory-efficient lazy loading for NIfTI |
❌ Missing |
Pending Upstream PRs (Unlikely to Merge)
These features exist as open PRs on huggingface/datasets but are unlikely to be prioritized:
- #7886 - BIDS dataset loader
- #7887 - Lazy loading for NIfTI (memory fix)
Proposal
Vendor the code from PRs #7886 and #7887 into this repo so that:
- Installing this package provides a complete neuroimaging toolkit
- Users don't have to wait for upstream merges (which may never happen)
- This repo becomes the canonical extension for neuroimaging on HuggingFace
Implementation Plan
- Add
src/bids_hub/loader/bids.py - BIDS loader from PR #7886
- Add lazy loading wrapper from PR #7887
- Expose via
bids_hub.load_bids() or similar API
- Update ARCHITECTURE.md to document consumption pipeline
References
- Gap analysis:
docs/to_do/consumption-pipeline-gap.md
Summary
This repo currently provides a production-only pipeline (BIDS → HuggingFace Hub).
We are missing consumption features that would make this package a complete solution for neuroimaging researchers.
Installation Note
This package is installed as a git dependency (not on PyPI):
uv add git+https://github.com/The-Obstacle-Is-The-Way/neuroimaging-go-brrrr.git # or pip install git+https://github.com/The-Obstacle-Is-The-Way/neuroimaging-go-brrrr.gitCurrent State
load_dataset("hugging-science/..."))datasets)load_dataset('bids', data_dir='/path'))Pending Upstream PRs (Unlikely to Merge)
These features exist as open PRs on
huggingface/datasetsbut are unlikely to be prioritized:Proposal
Vendor the code from PRs #7886 and #7887 into this repo so that:
Implementation Plan
src/bids_hub/loader/bids.py- BIDS loader from PR #7886bids_hub.load_bids()or similar APIReferences
docs/to_do/consumption-pipeline-gap.md