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]: docker安装后No such directory: "web" #795

Open
mayziran opened this issue Dec 19, 2024 · 2 comments
Open

[Bug]: docker安装后No such directory: "web" #795

mayziran opened this issue Dec 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mayziran
Copy link

Issue

docker安装后报错

Command Line Arguments

version: "3.8"
name: manga_image_translator
services:
  manga_image_translator:
    image: zyddnys/manga-image-translator:main
    container_name: manga_image_translator_cpu
    command: --manga2eng -v --mode web --host=0.0.0.0 --port=5003
    volumes:
      - ./result:/app/result
    ports:
      - 5003:5003
    ipc: host

Console logs

usage: manga_translator [-h] [-v] [--attempts ATTEMPTS] [--ignore-errors]
                        [--model-dir MODEL_DIR]
                        [--use-gpu | --use-gpu-limited]
                        [--font-path FONT_PATH] [--pre-dict PRE_DICT]
                        [--post-dict POST_DICT] [--kernel-size KERNEL_SIZE]
                        {local,ws,shared,config-help} ...
manga_translator: error: argument --model-dir: No such directory: "web"
@mayziran mayziran added the bug Something isn't working label Dec 19, 2024
@popcion
Copy link
Contributor

popcion commented Dec 20, 2024

https://github.com/wernerchao/manga-image-translator
用旧版

@ryanundorgel
Copy link

https://github.com/wernerchao/manga-image-translator 用旧版

请问该命令行参数要怎么修改呀? 直接看了docker简单部署教程,不太明白怎么改...
version: "3.8"
name: manga_image_translator
services:
manga_image_translator:
image: zyddnys/manga-image-translator:main
container_name: manga_image_translator_cpu
command: --manga2eng -v --mode web --host=0.0.0.0 --port=5003
volumes:
- ./result:/app/result
ports:
- 5003:5003
ipc: host

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

3 participants