The-Learning-And-Vision-Atelier-LAVA / DASR

[CVPR 2021] Unsupervised Degradation Representation Learning for Blind Super-Resolution
MIT License
395 stars 50 forks source link

环境 #33

Open tongchangD opened 3 years ago

tongchangD commented 3 years ago

能否提供一下代码的环境,以及程序版本

zyf1040895256 commented 3 years ago

我的是pytorch1.1.0 python3.6 训练的话,可能需要修改numpy 库的一些参数。

tongchangD commented 3 years ago

好的,谢谢。
以下环境是我测试可以使用的,
matplotlib 3.3.4
numpy 1.19.5
opencv-python 4.5.3.56
scipy 1.5.4
torch 1.1.0

------np.load() 报错------------

两种方式 修改numpy.load 第一种:在np.load中添加参数,如np.load(f,allow_pickle=True) 第二种 修改 numpy numpy/lib/npyio.py 约在 284 行 def load()函数 将其中参数 allow_pickle 默认置为 True 即可