Comments (16)
- Press power button to start Mac
- Login with password
- Open the terminal
- Git clone the repo
- Cd into project
- Follow the installation guide
- Follow the instructions in the readme the run the project
from manga-image-translator.
Docket
[batch] Running in batch mode
ERROR: [batch] Exception: No input image was supplied. Use -i <image_path>
from manga-image-translator.
I'm sorry what do you expect me to answer on that. The error message describes the issue and how to fix it: "No input image was supplied. Use -i <image_path>"
from manga-image-translator.
I use it on both mac and windows, it's exactly the same.
pip install -r requirements.txt
pip install git+https://github.com/kodalli/pydensecrf.git
create a image folder in the manga_translator
write python -m manga_translator -v --translator=google -l ENG -i
./manga_translator/
from manga-image-translator.
I downloaded docker, installed everything. When I run it, I get an error.
[batch] Running in batch mode
ERROR: [batch] Exception: No input image was supplied. Use -i <image_path>
from manga-image-translator.
I recommend reading the error. Translating it with google translate to a language you are able to speak will probably help. For further infos look at the readme. These are the possible args https://github.com/zyddnys/manga-image-translator#options
There is no issue with the installation and it seems to work as intended
from manga-image-translator.
You don't need to install with docker just go terminal
git clone https://github.com/zyddnys/manga-image-translator.git
cd manga-image-translator
pip install -r requirements.txt
pip install git+https://github.com/kodalli/pydensecrf.git
python -m manga_translator -v --translator=google -l ENG -i
i don't recommend google translate you can use sugoi or chatgpt
from manga-image-translator.
@eren-ay always use venv or conda
docker is usually easier to install. I think the issue was created because he can’t speak English and therefore does not understand the instructionsY of no -I is given in batch mode it won’t work on end operating system.
from manga-image-translator.
You don't need to install with docker just go terminal git clone https://github.com/zyddnys/manga-image-translator.git cd manga-image-translator pip install -r requirements.txt pip install git+https://github.com/kodalli/pydensecrf.git python -m manga_translator -v --translator=google -l ENG -i
i don't recommend google translate you can use sugoi or chatgpt
Thanks, it worked.
Help me, how do I set up gpt?
I have a key, but it is not readable by the script.
from manga-image-translator.
Define the Env variable. Read the readme!!!
from manga-image-translator.
Define the Env variable. Read the readme!!!
I created a file called API key.env
I put it in the folder
manga-image-translator
I run the command
python3 -m manga_translator -v --translator=gpt3 -l
I get an ERROR: [batch] MissingAPIKeyException: Please set the OPENAI_API_KEY environment variable before using the chatgpt translator.
Traceback (most recent call last):
from manga-image-translator.
With read the docs I meant read the god damn docks. There are examples for basic stuff like this. docker run --env="DEEPL_AUTH_KEY=xxx" --ipc=host --rm zyddnys/manga-image-translator:main <cli flags>
.
Even if it isn't in the docs wouldn't it be easier to use a search engine or chat gpt?
https://duckduckgo.com/?q=define+env+variable+operating+system
btw Dotenv files aren't meant to have a prefix & the application needs to have dotenv support which this project does not!
from manga-image-translator.
@eren-ay I'm sorry, I don't understand.
I'm working with python, not docker.
What command do I need to add
python -m manga_translator -v --translator=gpt4 -l ENG -I
To translate through GPT?
from manga-image-translator.
Stbu
from manga-image-translator.
BTW this question is a duplicate & not related to python or this project
from manga-image-translator.
@Bender-V you don't need key.env
path ./manga_translator/translators/keys.py
in this file
change OPENAI_API_KEY = os.getenv('OPENAI_API_KEY', 'change here')
sorry for my late answer
from manga-image-translator.
Related Issues (20)
- [Feature Request]: 增加InternVL 2.0模型 HOT 1
- [Bug]: window无法使用预编译文件安装pydensecrf HOT 1
- [Feature Request]: 希望支持QWEN2
- [Bug]: How to translate same file again in API mode?
- [Feature Request]: web模式下没法选择翻译成泰文
- [Bug]: The GPT Config Reference format in the README document may be incorrect
- [Bug]: Translator invalid HOT 1
- [Bug]: Could not reach translate service
- [Feature Request]: expected rendering performance on GPUs? Documenting GPU and CPU requirements? Number of Python threads?
- [Bug]: colab notebook get error and repeat restart
- [Bug]: ERROR: [batch] ConfigKeyError: Missing key 0 HOT 2
- [Feature Request]: 能否设置或者添加翻译后的字体
- [Feature Request]: Add Groq as an translator service
- [Feature Request]: 是否考虑使用Pango作为漫画的文本排版引擎?
- [Feature Request]: 添加过滤非垂直或水平文本的选项
- [Bug]: where is dbnet_convnext.ckpt HOT 1
- [Bug]: OCR识别相连气泡会将其合并
- [Bug]: official demo HOT 3
- [Feature Request]: 适配deepseek 接口
- [Feature Request]: Use neural machine translation (NMT)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manga-image-translator.