Skip to content
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]: 为什么最新的版本各种arg都不能打了 #818

Open
KouKojima opened this issue Jan 5, 2025 · 7 comments
Open

[Bug]: 为什么最新的版本各种arg都不能打了 #818

KouKojima opened this issue Jan 5, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@KouKojima
Copy link

Issue

为什么最新的版本各种arg都不能打了,我要去哪里调整翻译语言,翻译源等等呢

Command Line Arguments

No response

Console logs

No response

@KouKojima KouKojima added the bug Something isn't working label Jan 5, 2025
@popcion
Copy link
Contributor

popcion commented Jan 6, 2025

https://github.com/zyddnys/manga-image-translator/blob/main/examples/config-example.toml
现在arg被统一集中到配置文件中了,创建一个配置文件,在配置文件中修改后用--config-file指定配置文件路径

@da1995
Copy link

da1995 commented Jan 6, 2025

https://github.com/zyddnys/manga-image-translator/blob/main/examples/config-example.toml 现在arg被统一集中到配置文件中了,创建一个配置文件,在配置文件中修改后用--config-file指定配置文件路径

增加一个前端页面,进行设置,不更好?原本不已经就有前端页面了,反正我觉得都在配置参数里面或者启动项里面添加参数,对用户不太友好

@popcion
Copy link
Contributor

popcion commented Jan 6, 2025

也在用旧版,用惯了😂 个人也感觉确实不太友好,熟悉了的话会觉得麻烦一些,还得去找设置文件,这时间已经足够写参数了,不过也可能也有喜欢的人吧

@KouKojima
Copy link
Author

ImportError: cannot import name 'DiagnosticOptions' from 'torch.onnx.internal.exporter' (D:\anaconda\envs\comicTrans\lib\site-packages\torch\onnx_internal\exporter_init.py)
我的天,这个onnx是什么情况,为什么库库报错,网上还查不到原因,是因为torch版本问题?

@zyddnys
Copy link
Owner

zyddnys commented Jan 8, 2025

ImportError: cannot import name 'DiagnosticOptions' from 'torch.onnx.internal.exporter' (D:\anaconda\envs\comicTrans\lib\site-packages\torch\onnx_internal\exporter__init_.py) 我的天,这个onnx是什么情况,为什么库库报错,网上还查不到原因,是因为torch版本问题?

pytorch和onnx版本更新最新看看

@847361092
Copy link

所以有什么一劳永逸的修改办法吗,不然每次想要翻译成中文都要用--config-file来标记一个配置好的文件?

@googoobug
Copy link

https://github.com/zyddnys/manga-image-translator/blob/main/examples/config-example.toml 现在arg被统一集中到配置文件中了,创建一个配置文件,在配置文件中修改后用--config-file指定配置文件路径

你好,请问--config-file后面输入格式是什么?我在docker上使用,提示“unknown option --config-file”,--config-file后面接=和接空格都不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants