-
Notifications
You must be signed in to change notification settings - Fork 476
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
[Bug] Python脚本在Linux环境下报错 #595
Comments
我也忘了 你要搞图片超分的话可以用用最近写的库 torch比ncnn快的 |
I also forgot that if you want to super score images, you can use the recently written library. |
要不试试看用上游的库 https://github.com/Final2x/realcugan-ncnn-py |
okk,那我按照这个试试吧,主要是之前还能用来着,突然就不 work 了 看了下 demo,如果用 ccrestoration,是无需再配置 scale, noise 了嘛 |
okk, then I will give it a try according to this. The main reason is that it was still working before, but suddenly it stopped working. After watching the demo, if you use ccrestoration, there is no need to configure scale and noise. |
缩放,队列,RGBA图片处理啥的得自己写了,lib只提供最基本的接口 https://github.com/TensoRaws/ccrestoration/blob/main/example/sisr.py 这里有注册配置,修改默认配置的demo |
You have to write scaling, queueing, RGBA image processing, etc. by yourself. The lib only provides the most basic interface. https://github.com/TensoRaws/ccrestoration/blob/main/example/sisr.py Here are registration configurations and demos for modifying the default configurations. |
感谢 |
grateful |
https://github.com/Final2x/Final2x-core/blob/main/src/Final2x_core/__main__.py#L56 新版本的模型不再用上游库里面的 改成在线下载了 |
Please carefully review each item in the checklist below | 请认真检查以下清单中的每一项 | 以下のチェックリストの各項目を注意深く確認してください
Software Version | 软件版本 | ソフトウェアバージョン
Final2x-core 2.1.0
Operating System | 操作系统 | オペレーティングシステム
Ubuntu x64
System Version | 系统版本 | システムバージョン
Ubuntu 20.04.6 LTS
Describe the bug | 描述错误 | BUGの説明
详见复现步骤 + 错误日志
To reproduce | 复现步骤 | 再現方法
首先按照要求安装了依赖库(Python 3.10.15)
随后运行如下Python脚本
出现下述报错(见报错日志)
Error log | 报错日志 | ログ
Additional context | 附加内容 | 追加コンテキスト
似乎是在用 pip 更新 Final2x_core 库版本后发生的
The text was updated successfully, but these errors were encountered: