-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行报错 Name RealSRModel is not found, use name: RealSRModel_basicsr! ,怎么解决? #6
Comments
您这边安装了BasicSR了吗?没有的话可以参考这个来装一下。编译通过再执行应该就不会报错了。 BI-Efficient SR表示使用Bicubic来对训练数据做退化,模型是轻量的,追求性能跟efficiency的平衡。 如果想用来处理实际场景中的图像,推荐使用SAFMN_L_Real_LSDIR。 |
您好,我安装了BasicSR之后还是一样的报错
出错信息如下
|
您是重新用pip安装了吗?版本版本之间可能冲突了。
|
我hack了一下basicsr的代码 print(MODEL_REGISTRY.keys()) 我发现只有以下的模型,是不是可以选其中某个? dict_keys(['SRModel', 'RealESRNetModel_basicsr', 'SRGANModel', 'HiFaceGANModel', 'VideoBaseModel', 'VideoRecurrentModel', 'ESRGANModel', 'VideoRecurrentGANModel', 'EDVRModel', 'RealESR |
噢噢噢,我知道了您安装的是最新的BasicSR,里面更新了一些东西。 |
I still got this issue despite having setup a new environment and installing dependencies as instructed.
|
Edit: HA, I just realized it errors BEFORE where it errors here so I guess going back to that version was a terrible idea. Sorry for making these messages needlessly confusing to digest but I'm still getting the "No object named 'RealSRModel'" error. Edit2: Okay, finally got it working. The trick was to not have BasicSR installed through any other method than the provided setup.py and make sure you're using Python 3.8. I accidentally first tried running this with Python 3.10. |
另外这3个模型有什么区别(我是程序员,想用这个超分辨率,不太懂算法)
BI-Efficient SR
BI-Classic SR
x4 High-order
The text was updated successfully, but these errors were encountered: