Skip to content

Commit

Permalink
Update monai/data/image_reader.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Kerfoot <[email protected]>
Signed-off-by: Yiheng Wang <[email protected]>
  • Loading branch information
yiheng-wang-nv and ericspod authored Dec 19, 2024
1 parent 5005846 commit c43b916
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion monai/data/image_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ class NibabelReader(ImageReader):
Default is False. CuPy and Kvikio are required for this option.
Note: For compressed NIfTI files, some operations may still be performed on CPU memory,
and the acceleration may not be significant. In some cases, it may be slower than loading on CPU.
#TODO: the first kvikio call is slow since it will initialize internal buffers, cuFile, GDS, etc.
In practical use, it's recommended to add a warm up call before the actual loading.
A related tutorial will be prepared in the future, and the document will be updated accordingly.
kwargs: additional args for `nibabel.load` API. more details about available args:
Expand Down

0 comments on commit c43b916

Please sign in to comment.