popcion

Results 123 comments of popcion

可能是你的内存不足了,调小inpainting_size试试。你没添加替换字典的话就是会显示“No post-translation replacements made”

`--pre-dict PRE_DICT Path to the pre-translation dictionary file` `--post-dict POST_DICT Path to the post-translation dictionary file` 命令行添加参数,用法在这: https://github.com/zyddnys/manga-image-translator/pull/739 不过你这个render条满了,应该已经成功输出了,你的result文件夹下没有final的图片吗。

因为我用的是旧版所以没注意现在web好像添加不了这俩字典参数了。可以在local模式下使用这俩参数,或者用旧版的web https://github.com/wernerchao/manga-image-translator 另外我之前没注意到,你是不是用同一张图同种参数运行了第二次,如果这样的话会显显示Something went wrong,因为这张图状态是已完成,除非你从result文件里把这张图的结果相关文件夹给删掉重试。

https://github.com/zyddnys/manga-image-translator/issues/903#issuecomment-2795963855

尝试调小textline_merge中的sigma和gamma参数即可分离,对竖排文字效果明显,对横排文字效果较小。

`if bboxes[connected_region_indices[0]].distance(bboxes[connected_region_indices[1]]) < (1 + gamma) * fs \ and abs(bboxes[connected_region_indices[0]].angle - bboxes[connected_region_indices[1]].angle) < 0.1 * np.pi: return [set(connected_region_indices)] else: return [set([connected_region_indices[0]]), set([connected_region_indices[1]])]` 记录一下这还有一个调整文字框框弧度差异的阈值,小于此弧度可参与合并

it's gone after [https://github.com/zyddnys/manga-image-translator/pull/751](url) You can use batch mode to specify an image for translation, and the debug results you mentioned will be in the result folder. If you specify...

![Image](https://github.com/user-attachments/assets/3f70cb5c-b173-40f5-8c53-f6d165b01c6f) 确定选择了这几项然后重启,不行的话降级python重试,感觉是Python版本太新了

先`pip install cython`再试试呢,还不行的话搜索并打开 "Developer Command Prompt for VS" 或 "x64 Native Tools Command Prompt for VS"。Visual Studio 附带的开发者命令提示符已经配置了正确的环境变量

你的python重装的时候删干净了吗,会不会多个版本同时存在。将两者彻底删除之后再重新安装。最好使用python10