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]: How to specify output file in demo mode? #610

Open
Kolyada opened this issue Apr 17, 2024 · 3 comments
Open

[Bug]: How to specify output file in demo mode? #610

Kolyada opened this issue Apr 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Kolyada
Copy link
Contributor

Kolyada commented Apr 17, 2024

Issue

Demo mode always produces a final.png into /app/result folder. Could I change it anyway?

  1. How to change result filename "final"?
  2. How to avoid to create "ocrs" directory with parts after translate?

I run it via docker:

Command Line Arguments

docker run -v /home/translate/images:/app/images -v /home/translate/images-translated:/app/result -ipc=host --rm zyddnys/manga-image-translator:main --mode=demo --input=/app/images/test.jpg --target-lang=RUS

Console logs

No response

@Kolyada Kolyada added the bug Something isn't working label Apr 17, 2024
@zyddnys
Copy link
Owner

zyddnys commented Apr 18, 2024

  1. use batch model instead of demo mode
  2. ocrs folder is created only if you provided -v argument

@Kolyada
Copy link
Contributor Author

Kolyada commented Apr 19, 2024

But I don't use -v or --verbose option and still have ocrs directory in demo mode

@zyddnys
Copy link
Owner

zyddnys commented Apr 24, 2024

the directory should be empty so it doesn't matter

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

2 participants