Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

nvImageCodec Warning Too Frequent

Đang mở
#9,133 1 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

@MMelQin đang làm issue này rồi.

Từ ngày 26/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Low risk Module: data refactor

Describe the bug
The following warning is being printed whenever MONAI is imported without the mentioned libraries:

Failed to load nvtiff library! Please install nvTIFF (see https://docs.nvidia.com/cuda/nvtiff/userguide.html#installing-nvtiff).
Note: If using nvImageCodec's Python distribution, it is enough to install the nvTIFF wheel: e.g. `python3 -m pip install nvidia-nvtiff-cu13`
[ERROR] [nvtiff_ext] Failed to load nvTIFF library or retrieve version. Decoders and encoders will not be registered.
Failed to load nvjpeg2k library! Please install nvJPEG2000 (see https://docs.nvidia.com/cuda/nvjpeg2000/userguide.html#installing-nvjpeg2000).
Note: If using nvImageCodec's Python distribution, it is enough to install the nvJPEG2000 wheel: e.g. `python3 -m pip install nvidia-nvjpeg2k-cu13`
[ERROR] [nvjpeg2k_ext] Failed to load nvJPEG2000 library or retrieve version. Decoders and encoders will not be registered.

These are important if a user is attempting to use the new NvImgCodecPydicomReader class for accelerated DICOM reading, but these shouldn't appear until that time. I think the time at which the imports are attempted in NvImgCodecPydicomReader or in nvimgcodec_pydicom_plugin.py can be shifted around to be later rather than at MONAI's import time.

To Reproduce
Steps to reproduce the behavior:

  1. import MONAI without nvidia-nvtiff-cu13 or nvidia-nvjpeg2k-cu13

Expected behavior
No warning.

Ngôn ngữ chính
Python
Star
8.7k
Fork
1.6k
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Project-MONAI/MONAI

Tất cả issue của Project-MONAI/MONAI

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.