Open Hellrunner2k opened 3 weeks ago
That os.environ line should work, it does for me, but if not you can set the environment variable before launching comfy instead by adding it to your launch script. Windows example for run_nvidia_gpu.bat:
set OPENCV_IO_ENABLE_OPENEXR=1
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fp32-vae
pause
(If you're on linux I trust you can figure out the equivalent)
WARN:0@148.342] global grfmt_exr.cpp:102 cv::initOpenEXR imgcodecs: OpenEXR codec is disabled. You can enable it via 'OPENCV_IO_ENABLE_OPENEXR' option. Refer for details and cautions here: https://github.com/opencv/opencv/issues/21326