huawei-noah / Pretrained-IPT

Apache License 2.0
434 stars 63 forks source link

路径问题去噪的数据按照文档中写的放还是有问题 #35

Open superMYJZ opened 2 years ago

superMYJZ commented 2 years ago

image 路径就是{path}/CBSD68/xxx.png这里有图片,但就是加载报错 image 也试了以下这个路径,这个同样报错 image 所以去噪的路径到底应该怎么放?

HantingChen commented 2 years ago

抱歉,测试时候需要加上--test_only这个参数即可。

superMYJZ commented 2 years ago

嗯嗯,谢谢大哥指导。

superMYJZ commented 2 years ago

你们代码中构建数据集的是需要png格式的,我下载的数据是jpg的,导致放对路径也加载不上数据 image 在srdata.py中的110行我这里改成了jpg,看看之后的人会不会遇到相似问题

Arican-Lee commented 2 years ago

请问是在main.py中修改图像路径嘛?请求指点指点,谢谢。