torchvtk
PyTorch volume data loading framework
Documentation
Installation Instructions
The latest GitHub release is pushed to PyPi:
pip install torchvtk
To get the master run:
pip install git+https://github.com/torchvtk/torchvtk.git@master#egg=torchvtk
Optional for DICOM stuff only:
conda create --name "tvtk" python=3.6 && conda activate tvtk
conda install gdcm -c conda-forge
pip install pydicom dicom_numpy h5py numpy matplotlib
If you need DICOM, and thus gdcm, your Python version needs to be <=3.6
Modify tvtk in the third line (both after --name and at the end of the line) to your preferred environment name or just add the required packages to your existing environment.
Note that the restriction to Python <= 3.6 is due to gdcm and higher version should work as well if you don't need DICOM loading capabilities.
Creating the Numpy Files for the HDF 5 File generation.
hdf5/nifiti_crawler.py This script generates out of the nifti Files of the Medical Decathlon Challenge numpy arrays that contain the images and the segmentation groundtruths.
Creating the HDF5 Files
hdf5/hdf5_crawler.py This script generates hdf5 Files with different compression techniques. These files contain the image as well as the groundtruth. The image is normalized between [0,1] and is stored in the Float32 Format. The Groundtruth is saved as an Int16 Format. The used compressions are gzip, szip and lzf.
Metadata
Release files for torchvtk 0.4.9
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 | Actions |
|---|---|---|---|---|
| torchvtk-0.4.9.tar.gz | 2.8 MB | Without provenance | Details for torchvtk-0.4.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torchvtk-0.4.9-py3-none-any.whl | Python 3 | none | any | Details for torchvtk-0.4.9-py3-none-any.whl |
Total release size: 5.5 MB
Release files / torchvtk-0.4.9.tar.gz
| Download URL | torchvtk-0.4.9.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7266a9913c66fbe29a63e90fa340c65bf1fcb60f46f9a0e1176cd4b84a0a59f2
|
|
BLAKE2b-256 checksum How to use checksums |
c9f581f39a9203201776f34996eabb70729c986fd046c677624c2d017aa80030
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / torchvtk-0.4.9-py3-none-any.whl
| Download URL | torchvtk-0.4.9-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68ab1fc5d36848684bbc7a3ddf9c4872b0b16738076abd21e9821b2107d0551f
|
|
BLAKE2b-256 checksum How to use checksums |
8efca2dfd39e35c0cebce7df3876fa5a929f0e6578bd01cc43a95b349d494548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Security for torchvtk 0.4.9
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.