https://github.com/zyddnys/manga-image-translator
git clone https://github.com/zyddnys/manga-image-translator.git
cd manga-image-translator
# project's Python requirement: `>=3.10, <3.12`だったのでやむなく..
uv venv venv --python 3.11 --seed
source venv/bin/activate
pip install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.1
sudo apt install g++-12
pip install -r requirements.txt
cp example/config-example.json ./config.json
config.jsonを編集
以下のように直す
"translator": {
"translator": "m2m100",
"target_lang": "JPN",
python -m manga_translator local --config-file config.json -v -i ~/Downloads/illust
翻訳がテキトーなのはm2m100のせいもあるので有料サービスを使ってみてはどうか









