NAFNet icon indicating copy to clipboard operation
NAFNet copied to clipboard

cannot import name 'create_model' from 'basicsr.models' (/data/luhu/anaconda3/envs/huali/lib/python3.7/site-packages/basicsr/models/__init__.py)

Open HuLu65 opened this issue 2 years ago • 4 comments

HuLu65 avatar Jan 13 '23 22:01 HuLu65

我同时使用了两个网络 HAT 和 NAFNet ,导入basicsr包时发生了冲突。卸载了BASICSR ,重新编译。

HuLu65 avatar Jan 13 '23 23:01 HuLu65

Make sure you're not using any other pyenv, as configuration between environments might differ even when pip or anaconda say "requirements already satisfied". Annoying, I know, but that's Python for you.

movy avatar Feb 08 '23 13:02 movy

我不安装basicsr时,没有这个问题,但是运行代码时会显示没有basicsr模块。当我安装了basicsr之后,就会出现您这个问题。请问您知道这是什么原因吗?

g483122074 avatar May 31 '24 03:05 g483122074