We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
日志可以看到翻译了,但是输出不了图片; 本地启动,web 上传图片,选择有道翻译(设置了应用id和密钥,不确定有没有起作用,平台api调用次数0,应该没用,汗!), CTC,1024尺寸
cd server && python main.py --use-gpu
INFO: 127.0.0.1:50449 - "POST /translate/with-form/image/stream HTTP/1.1" 200 OK [shared] Loading models [shared] Running text detection INFO: 127.0.0.1:50450 - "POST /execute/translate HTTP/1.1" 200 OK [shared] Running ocr [Model48pxOCR] prob: 0.6648881435394287 あ fg: (3, 3, 1) bg: (3, 3, 1) [Model48pxOCR] prob: 0.9956433176994324 山田 fg: (7, 5, 4) bg: (7, 5, 4) [Model48pxOCR] prob: 0.9997367858886719 まぁ fg: (8, 8, 3) bg: (8, 8, 3) [Model48pxOCR] prob: 0.9998955726623535 なのに fg: (0, 0, 1) bg: (0, 0, 1) [Model48pxOCR] prob: 0.9984569549560547 行くね fg: (7, 6, 4) bg: (7, 6, 4) [Model48pxOCR] prob: 0.9996129870414734 じゃあ私 fg: (3, 5, 1) bg: (3, 5, 1) [Model48pxOCR] prob: 0.9955269694328308 木之下さ… fg: (1, 1, 0) bg: (1, 1, 0) [Model48pxOCR] prob: 0.9989407658576965 かっこいいし fg: (2, 4, 1) bg: (2, 4, 1) [Model48pxOCR] prob: 0.9991170167922974 こっちだから fg: (2, 3, 0) bg: (2, 3, 0) [Model48pxOCR] prob: 0.9998852014541626 なんでこんなに fg: (1, 0, 0) bg: (1, 0, 0) [Model48pxOCR] prob: 0.9830853343009949 また学校で! fg: (3, 4, 1) bg: (3, 4, 1) [Model48pxOCR] prob: 0.9999558925628662 思ってたけどね fg: (1, 2, 0) bg: (1, 2, 0) [Model48pxOCR] prob: 0.9966431260108948 彼女の一人や二人 fg: (2, 2, 1) bg: (2, 2, 1) [Model48pxOCR] prob: 0.9997823238372803 いないわけないって fg: (0, 1, 0) bg: (0, 1, 0) [shared] No pre-translation replacements made. [shared] Running text translation [YoudaoTranslator] Translating into Chinese (Simplified) [YoudaoTranslator] 0: まぁ => 嘛 [YoudaoTranslator] 1: いないわけないって思ってたけどね => 我还以为不可能没有呢 [YoudaoTranslator] 2: 彼女の一人や二人 => 她的一个或两个 [YoudaoTranslator] 3: 山田かっこいいし => 山田很帅 [YoudaoTranslator] 4: また学校で! => 又在学校! [YoudaoTranslator] 5: あ => 啊 [YoudaoTranslator] 6: 木之下さ… => 木之下… [YoudaoTranslator] 7: じゃあ私こっちだから行くね => 那我走这边走吧 [YoudaoTranslator] 8: なのに => 然而 [YoudaoTranslator] 9: なんでこんなに => 为什么这么多 [shared] No post-translation replacements made. [shared] Running mask refinement [mask]: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14/14 [00:00<00:00, 290.69it/s] [shared] Running rendering [render]: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 241.45it/s]
The text was updated successfully, but these errors were encountered:
哪位朋友也有遇到这样的问题呀,回复一下呀,啊啊啊
Sorry, something went wrong.
No post-translation replacements made
可能是你的内存不足了,调小inpainting_size试试。你没添加替换字典的话就是会显示“No post-translation replacements made”
No branches or pull requests
Issue
日志可以看到翻译了,但是输出不了图片;
本地启动,web 上传图片,选择有道翻译(设置了应用id和密钥,不确定有没有起作用,平台api调用次数0,应该没用,汗!), CTC,1024尺寸
Command Line Arguments
Console logs
The text was updated successfully, but these errors were encountered: