C:\Users\12031\miniconda3\envs\unet\lib\site-packages\torchvision\io\image.py:14: UserWarning: Failed to load image Python extension: '[WinError 127] 找不到指定的程序。'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
问题分析:libjpeg 和 libpng 的版本不符合torch
解决:重新安装对应的包就好
conda install -c conda-forge libjpeg-turbo libpng