Closed sanjin222 closed 1 year ago
看着像是路径导致的,改成这样试试? filePath = 'F:/FlW-Net/low/' filePath_high = 'F:/FlW-Net/high/'
Traceback (most recent call last):
File "E:\FLW-Net\lowlight_test.py", line 132, in
你输入的是灰度图?
把灰度图改成了彩色图,请教一下有其他需要注意的地方吗?再次非常感谢!
谢谢您的帮助,我将图片调整为1000×1000分辨率,test的代码跑通了,我想请教一下这个项目可以用来增强自己拍的低光照图片吗,能不能指点一些呢?
我的邮箱hitzhangyu@qq.com
filePath = 'F:/FlW-Net/low' filePath_high = 'F:/FlW-Net/high' 想请教一下,是只修改这个路径成自己的就可以运行了吗,Traceback (most recent call last): File "F:\FLW-Net\lowlight_test.py", line 132, in
runtime,Loss_psnr,Loss_ssim = lowlight(image_name,image_high_name,expect_mean[i])
File "F:\FLW-Net\lowlight_test.py", line 31, in lowlight
data_lowlight = Image.open(image_path)
File "F:\ANACONDA3\envs\yolov7\lib\site-packages\PIL\Image.py", line 3218, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'F:/FlW-Net/low337.png',,,为什么运行test.py会报错呢?