nvImageCodec Warning Too Frequent
Los mantenedores suelen responder en 3 días
@MMelQin ya está trabajando en esto.
Desde el 26/9/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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:
- import MONAI without nvidia-nvtiff-cu13 or nvidia-nvjpeg2k-cu13
Expected behavior
No warning.
- Lenguaje dominante
- Python
- Estrellas
- 8.7k
- Forks
- 1.6k
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 18
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Project-MONAI/MONAI
-
ProbMapProducer raises IndexError on numpy 2.x: SlidingPatchWSIDataset emits float locationsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Project-MONAI/MONAI#9135 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Project-MONAI/MONAI#9068 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Project-MONAI/MONAI#9046 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Project-MONAI/MONAI#9026 ·
Los mantenedores suelen responder en 3 días
-
PR Update ActionPosiblemente ocupada @KumoLiu la tomó hoy. Abierto
Project-MONAI/MONAI#9141 · 3 asignados ·
Los mantenedores suelen responder en 3 días
Todos los issues de Project-MONAI/MONAI
Issues similares
-
customer-reported
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Azure/azure-cli#34150 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community-request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
NVIDIA-NeMo/Curator#2464 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
weblate-discover crashes with an unhandled FileNotFoundError when the directory does not existAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
WeblateOrg/translation-finder#1099 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
trezor/trezor-firmware#7997 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día