mongoslabs
Dataloader that serves MRI images from a mongodb.
The main idea is to keep MRI images and corresponding training labels
for segmentation tasks in a mongo database. However, each 2563 3D MRI
tensor even in 8 bit precision is 16Mb. mongo's records cannot be
larger than this limit and we need to also store the labels of the
same dimensions. mongoslabs fetches and aggregates each 2563
tensor stored across 8 records, together with corresponding labels
either for gray and white matter, 104 regions atlas, or a 50 region
atlas. (The scripts to populate such collection are upcoming.)
An example of maintaining a high utilization on 4 GPUs
installation
pip install mongoslabs
usage
A detailed example of how to create a dataloader using provided
dataset class and the corresponding tools is in
scripts/usage_example.py
Do not forget to move the batches to the GPU once obtained.
Metadata
Release files for mongoslabs 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mongoslabs-0.0.2.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mongoslabs-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / mongoslabs-0.0.2.tar.gz
| Download URL | mongoslabs-0.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f279b1cd49b698951a92d5263eafe2850a2510cb8593e4a3d57a81560d96cb1f
|
|
BLAKE2b-256 checksum How to use checksums |
c22d4ec5e6b74a4884ccbd8fd3ddb58bf4354f32fce8a8ce38b092db5442a30b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.12
|
Release files / mongoslabs-0.0.2-py3-none-any.whl
| Download URL | mongoslabs-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b804351841c5c0f0e18f29cfd5e7b293e721da05f3b7c255c2668ede663e04e
|
|
BLAKE2b-256 checksum How to use checksums |
f7ce96106131d2b8bac0c93c29b4eb240523d77484ce671c6cb1d2456e39fda0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.12
|
Security for mongoslabs 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.