NAFNet
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)
我同时使用了两个网络 HAT 和 NAFNet ,导入basicsr包时发生了冲突。卸载了BASICSR ,重新编译。
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.
我不安装basicsr时,没有这个问题,但是运行代码时会显示没有basicsr模块。当我安装了basicsr之后,就会出现您这个问题。请问您知道这是什么原因吗?