[Bug]: ERROR: [local] Page-level target language check failed after all 3 batch retries

Author: My12123Created Aug 26, 2026Updated Aug 26, 2026
Labelsbug

Issue

ERROR: [local] Page-level target language check failed after all 3 batch retries

Command Line Arguments

bash
python -m manga_translator local -v --config-file D:\manga-image-translator\examples\config-example.json --use-gpu  -i

Console logs

bash
[local] Translating: "D:\JAM\Downloads\Until You Confess\Luka's Birthday Party\011.jpg"
[local] Loading models
[local] Running upscaling
[esgran]: 100%|██████████████████████████████████████████████████████████████████████| 100/100 [00:01<00:00, 60.88it/s]
[local] Running text detection
[local] Running ocr
[Model48pxOCR] prob: 0.49046313762664795 5days ago fg: (94, 49, 11) bg: (94, 49, 10)
[Model48pxOCR] prob: 0.6732423305511475 Salami!!! fg: (48, 27, 9) bg: (48, 27, 9)
[Model48pxOCR] prob: 0.669106662273407 5daysagg fg: (114, 65, 23) bg: (114, 65, 23)
[Model48pxOCR] prob: 0.627397358417511 Mawz fg: (27, 12, 2) bg: (27, 12, 2)
[Model48pxOCR] prob: 0.913652241230011 6daysago fg: (128, 87, 42) bg: (128, 87, 42)
[Model48pxOCR] prob: 0.48871493339538574 5daysago fg: (106, 62, 21) bg: (106, 62, 21)
[Model48pxOCR] prob: 0.876815676689148 5daysago fg: (102, 58, 20) bg: (102, 58, 20)
[Model48pxOCR] prob: 0.3252602815628052 5hoursago fg: (119, 76, 28) bg: (119, 76, 28)
[Model48pxOCR] prob: 0.9815922975540161 cuzwhynyatt fg: (24, 8, 1) bg: (24, 8, 1)
[Model48pxOCR] prob: 0.4993235766887665 lconic nooodle fg: (22, 9, 1) bg: (22, 9, 1)
[Model48pxOCR] prob: 0.38577839732170105 bthecursedbotchilo fg: (20, 6, 1) bg: (20, 6, 1)
[Model48pxOCR] prob: 0.6057236790657043 Happy Birthday, Luka! fg: (13, 6, 1) bg: (14, 7, 1)
[Model48pxOCR] prob: 0.47869452834129333 HereForTheBL231 fg: (43, 20, 5) bg: (43, 20, 5)
[Model48pxOCR] prob: 0.873496949672699 Happy birthday Luka! fg: (18, 7, 1) bg: (18, 7, 1)
[Model48pxOCR] prob: 0.9502081274986267 HAPPY BIRTHDAY LUKAAAA!! fg: (3, 0, 0) bg: (3, 0, 0)
[Model48pxOCR] prob: 0.9859830737113953 HAPPY BIRTHDAY LUKAAA!! fg: (2, 0, 0) bg: (3, 0, 0)
[Model48pxOCR] prob: 0.7356799840927124 hope Rei treats you wel fg: (14, 4, 1) bg: (15, 5, 1)
[Model48pxOCR] prob: 0.5555422902107239 authorformaking such a beautiful story!! fg: (2, 0, 0) bg: (3, 0, 0)
[Model48pxOCR] prob: 0.4548378586769104 hope they come true too...and finally hope you're always happy fg: (5, 0, 0) bg: (6, 0, 0)
[Model48pxOCR] prob: 0.8361412882804871 Happy birthday LUKA! and hope you meet your fav kpop or music idol!! fg: (17, 7, 1) bg: (18, 8, 2)
[Model48pxOCR] prob: 0.6217083930969238 giving luka a big big hug and a "I'm proud of you" thank you fg: (4, 1, 0) bg: (6, 1, 1)
[Model48pxOCR] prob: 0.2516181170940399 I'm pretty sure you must have a birthday scenario in all the things you imagine md wi.. fg: (9, 0, 0) bg: (10, 1, 0)
[Model48pxOCR] prob: 0.530549943447113 hand nigh fg: (10, 3, 1) bg: (10, 3, 1)
[local] Removed unpaired bracket from "giving luka a big big hug and a "I'm proud of you" thank you authorformaking such a beautiful story!!"
[local] Removed unpaired bracket from "hand nigh I'm pretty sure you must have a birthday scenario in all the things you imagine md wi.. hope they come true too...and finally hope you're always happy"
WARNING: [textblock] Panel detection failed (IndexError: invalid index to scalar variable.), using simple text sorting
WARNING: [textblock] Panel visualization failed: invalid index to scalar variable.
[local] No pre-translation replacements made.
[local] Running text translation
[SelectiveOfflineTranslator] Selected translator: M2M100BigTranslator
[M2M100BigTranslator] Translating into Russian
[M2M100BigTranslator] 0: Happy birthday Luka! => С днем рождения Лука!
[M2M100BigTranslator] 1: Mawz 5days ago HAPPY BIRTHDAY LUKAAAA!! => Mawz 5days ago Счастливый день рождения LUKAAAA!!
[M2M100BigTranslator] 2: lconic nooodle => lconic nooodle
[M2M100BigTranslator] 3: 5daysago => 5daysago
[M2M100BigTranslator] 4: HAPPY BIRTHDAY LUKAAA!! => Счастливый день рождения Лукаа!
[M2M100BigTranslator] 5: cuzwhynyatt => cuzwhynyatt скважины
[M2M100BigTranslator] 6: 5daysagg => 5 дней5daysagg
[M2M100BigTranslator] 7: hand nigh Im pretty sure you must have a birthday scenario in all the things you imagine md wi.. hope they come true too...and finally hope youre always happy => hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy
[M2M100BigTranslator] 8: bthecursedbotchilo => bthecursedbotchilo
[M2M100BigTranslator] 9: 5daysago => 5daysago
[M2M100BigTranslator] 10: giving luka a big big hug and a Im proud of you thank you authorformaking such a beautiful story!! => giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!
[M2M100BigTranslator] 11: HereForTheBL231 => HereForTheBL231
[M2M100BigTranslator] 12: 5hoursago => 5hoursago
[M2M100BigTranslator] 13: hope Rei treats you wel => Hope Rei Treats You Well
[M2M100BigTranslator] 14: Happy Birthday, Luka! => С днем рождения, Лука!
[M2M100BigTranslator] 15: Salami!!! 6daysago Happy birthday LUKA! and hope you meet your fav kpop or music idol!! => Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!
[local] No post-translation replacements made.
[local] Starting post-translation check...
[local] Starting page-level target language check with 16 regions...
WARNING: [local] Page-level target language ratio check failed
WARNING: [local] Starting batch retry 1/3 for page-level target language check...
[local] Retrying translation for 16 regions...
[SelectiveOfflineTranslator] Selected translator: M2M100BigTranslator
[M2M100BigTranslator] Translating into Russian
[M2M100BigTranslator] 0: Happy birthday Luka! => С днем рождения Лука!
[M2M100BigTranslator] 1: Mawz 5days ago HAPPY BIRTHDAY LUKAAAA!! => Mawz 5days ago Счастливый день рождения LUKAAAA!!
[M2M100BigTranslator] 2: lconic nooodle => lconic nooodle
[M2M100BigTranslator] 3: 5daysago => 5daysago
[M2M100BigTranslator] 4: HAPPY BIRTHDAY LUKAAA!! => Счастливый день рождения Лукаа!
[M2M100BigTranslator] 5: cuzwhynyatt => cuzwhynyatt скважины
[M2M100BigTranslator] 6: 5daysagg => 5 дней5daysagg
[M2M100BigTranslator] 7: hand nigh Im pretty sure you must have a birthday scenario in all the things you imagine md wi.. hope they come true too...and finally hope youre always happy => hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy
[M2M100BigTranslator] 8: bthecursedbotchilo => bthecursedbotchilo
[M2M100BigTranslator] 9: 5daysago => 5daysago
[M2M100BigTranslator] 10: giving luka a big big hug and a Im proud of you thank you authorformaking such a beautiful story!! => giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!
[M2M100BigTranslator] 11: HereForTheBL231 => HereForTheBL231
[M2M100BigTranslator] 12: 5hoursago => 5hoursago
[M2M100BigTranslator] 13: hope Rei treats you wel => Hope Rei Treats You Well
[M2M100BigTranslator] 14: Happy Birthday, Luka! => С днем рождения, Лука!
[M2M100BigTranslator] 15: Salami!!! 6daysago Happy birthday LUKA! and hope you meet your fav kpop or music idol!! => Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!
[local] Region 1 translation updated: 'С днем рождения Лука!' -> 'С днем рождения Лука!'
[local] Region 2 translation updated: 'Mawz 5days ago Счастливый день рождения LUKAAAA!!' -> 'Mawz 5days ago Счастливый день рождения LUKAAAA!!'
[local] Region 3 translation updated: 'lconic nooodle' -> 'lconic nooodle'
[local] Region 4 translation updated: '5daysago' -> '5daysago'
[local] Region 5 translation updated: 'Счастливый день рождения Лукаа!' -> 'Счастливый день рождения Лукаа!'
[local] Region 6 translation updated: 'cuzwhynyatt скважины' -> 'cuzwhynyatt скважины'
[local] Region 7 translation updated: '5 дней5daysagg' -> '5 дней5daysagg'
[local] Region 8 translation updated: 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy' -> 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy'
[local] Region 9 translation updated: 'bthecursedbotchilo' -> 'bthecursedbotchilo'
[local] Region 10 translation updated: '5daysago' -> '5daysago'
[local] Region 11 translation updated: 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!' -> 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!'
[local] Region 12 translation updated: 'HereForTheBL231' -> 'HereForTheBL231'
[local] Region 13 translation updated: '5hoursago' -> '5hoursago'
[local] Region 14 translation updated: 'Hope Rei Treats You Well' -> 'Hope Rei Treats You Well'
[local] Region 15 translation updated: 'С днем рождения, Лука!' -> 'С днем рождения, Лука!'
[local] Region 16 translation updated: 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!' -> 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!'
[local] Re-checking page-level target language ratio after batch retry 1...
WARNING: [local] Page-level target language check still failed
WARNING: [local] Starting batch retry 2/3 for page-level target language check...
[local] Retrying translation for 16 regions...
[SelectiveOfflineTranslator] Selected translator: M2M100BigTranslator
[M2M100BigTranslator] Translating into Russian
[M2M100BigTranslator] 0: Happy birthday Luka! => С днем рождения Лука!
[M2M100BigTranslator] 1: Mawz 5days ago HAPPY BIRTHDAY LUKAAAA!! => Mawz 5days ago Счастливый день рождения LUKAAAA!!
[M2M100BigTranslator] 2: lconic nooodle => lconic nooodle
[M2M100BigTranslator] 3: 5daysago => 5daysago
[M2M100BigTranslator] 4: HAPPY BIRTHDAY LUKAAA!! => Счастливый день рождения Лукаа!
[M2M100BigTranslator] 5: cuzwhynyatt => cuzwhynyatt скважины
[M2M100BigTranslator] 6: 5daysagg => 5 дней5daysagg
[M2M100BigTranslator] 7: hand nigh Im pretty sure you must have a birthday scenario in all the things you imagine md wi.. hope they come true too...and finally hope youre always happy => hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy
[M2M100BigTranslator] 8: bthecursedbotchilo => bthecursedbotchilo
[M2M100BigTranslator] 9: 5daysago => 5daysago
[M2M100BigTranslator] 10: giving luka a big big hug and a Im proud of you thank you authorformaking such a beautiful story!! => giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!
[M2M100BigTranslator] 11: HereForTheBL231 => HereForTheBL231
[M2M100BigTranslator] 12: 5hoursago => 5hoursago
[M2M100BigTranslator] 13: hope Rei treats you wel => Hope Rei Treats You Well
[M2M100BigTranslator] 14: Happy Birthday, Luka! => С днем рождения, Лука!
[M2M100BigTranslator] 15: Salami!!! 6daysago Happy birthday LUKA! and hope you meet your fav kpop or music idol!! => Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!
[local] Region 1 translation updated: 'С днем рождения Лука!' -> 'С днем рождения Лука!'
[local] Region 2 translation updated: 'Mawz 5days ago Счастливый день рождения LUKAAAA!!' -> 'Mawz 5days ago Счастливый день рождения LUKAAAA!!'
[local] Region 3 translation updated: 'lconic nooodle' -> 'lconic nooodle'
[local] Region 4 translation updated: '5daysago' -> '5daysago'
[local] Region 5 translation updated: 'Счастливый день рождения Лукаа!' -> 'Счастливый день рождения Лукаа!'
[local] Region 6 translation updated: 'cuzwhynyatt скважины' -> 'cuzwhynyatt скважины'
[local] Region 7 translation updated: '5 дней5daysagg' -> '5 дней5daysagg'
[local] Region 8 translation updated: 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy' -> 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy'
[local] Region 9 translation updated: 'bthecursedbotchilo' -> 'bthecursedbotchilo'
[local] Region 10 translation updated: '5daysago' -> '5daysago'
[local] Region 11 translation updated: 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!' -> 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!'
[local] Region 12 translation updated: 'HereForTheBL231' -> 'HereForTheBL231'
[local] Region 13 translation updated: '5hoursago' -> '5hoursago'
[local] Region 14 translation updated: 'Hope Rei Treats You Well' -> 'Hope Rei Treats You Well'
[local] Region 15 translation updated: 'С днем рождения, Лука!' -> 'С днем рождения, Лука!'
[local] Region 16 translation updated: 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!' -> 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!'
[local] Re-checking page-level target language ratio after batch retry 2...
WARNING: [local] Page-level target language check still failed
WARNING: [local] Starting batch retry 3/3 for page-level target language check...
[local] Retrying translation for 16 regions...
[SelectiveOfflineTranslator] Selected translator: M2M100BigTranslator
[M2M100BigTranslator] Translating into Russian
[M2M100BigTranslator] 0: Happy birthday Luka! => С днем рождения Лука!
[M2M100BigTranslator] 1: Mawz 5days ago HAPPY BIRTHDAY LUKAAAA!! => Mawz 5days ago Счастливый день рождения LUKAAAA!!
[M2M100BigTranslator] 2: lconic nooodle => lconic nooodle
[M2M100BigTranslator] 3: 5daysago => 5daysago
[M2M100BigTranslator] 4: HAPPY BIRTHDAY LUKAAA!! => Счастливый день рождения Лукаа!
[M2M100BigTranslator] 5: cuzwhynyatt => cuzwhynyatt скважины
[M2M100BigTranslator] 6: 5daysagg => 5 дней5daysagg
[M2M100BigTranslator] 7: hand nigh Im pretty sure you must have a birthday scenario in all the things you imagine md wi.. hope they come true too...and finally hope youre always happy => hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy
[M2M100BigTranslator] 8: bthecursedbotchilo => bthecursedbotchilo
[M2M100BigTranslator] 9: 5daysago => 5daysago
[M2M100BigTranslator] 10: giving luka a big big hug and a Im proud of you thank you authorformaking such a beautiful story!! => giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!
[M2M100BigTranslator] 11: HereForTheBL231 => HereForTheBL231
[M2M100BigTranslator] 12: 5hoursago => 5hoursago
[M2M100BigTranslator] 13: hope Rei treats you wel => Hope Rei Treats You Well
[M2M100BigTranslator] 14: Happy Birthday, Luka! => С днем рождения, Лука!
[M2M100BigTranslator] 15: Salami!!! 6daysago Happy birthday LUKA! and hope you meet your fav kpop or music idol!! => Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!
[local] Region 1 translation updated: 'С днем рождения Лука!' -> 'С днем рождения Лука!'
[local] Region 2 translation updated: 'Mawz 5days ago Счастливый день рождения LUKAAAA!!' -> 'Mawz 5days ago Счастливый день рождения LUKAAAA!!'
[local] Region 3 translation updated: 'lconic nooodle' -> 'lconic nooodle'
[local] Region 4 translation updated: '5daysago' -> '5daysago'
[local] Region 5 translation updated: 'Счастливый день рождения Лукаа!' -> 'Счастливый день рождения Лукаа!'
[local] Region 6 translation updated: 'cuzwhynyatt скважины' -> 'cuzwhynyatt скважины'
[local] Region 7 translation updated: '5 дней5daysagg' -> '5 дней5daysagg'
[local] Region 8 translation updated: 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy' -> 'hand nigh Im pretty sure you must have a birthday scenario in all the things You imagine md wi.. hope they come true too...and finally hopes YOURE ALWAYS happy'
[local] Region 9 translation updated: 'bthecursedbotchilo' -> 'bthecursedbotchilo'
[local] Region 10 translation updated: '5daysago' -> '5daysago'
[local] Region 11 translation updated: 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!' -> 'giving luka a big large hug and an Im proud of you thanks authorformaking such a beautiful story!!'
[local] Region 12 translation updated: 'HereForTheBL231' -> 'HereForTheBL231'
[local] Region 13 translation updated: '5hoursago' -> '5hoursago'
[local] Region 14 translation updated: 'Hope Rei Treats You Well' -> 'Hope Rei Treats You Well'
[local] Region 15 translation updated: 'С днем рождения, Лука!' -> 'С днем рождения, Лука!'
[local] Region 16 translation updated: 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!' -> 'Салами!!! 6daysago Happy Birthday LUKA! and hope you meet your fav kpop or music idol!!'
[local] Re-checking page-level target language ratio after batch retry 3...
WARNING: [local] Page-level target language check still failed
ERROR: [local] Page-level target language check failed after all 3 batch retries
WARNING: [local] Some translation regions failed post-translation check.
[local] Filtered out: lconic nooodle
[local] Reason: Translation identical to original
[local] Filtered out: 5daysago
[local] Reason: Translation identical to original
[local] Filtered out: bthecursedbotchilo
[local] Reason: Translation identical to original
[local] Filtered out: 5daysago
[local] Reason: Translation identical to original
[local] Filtered out: HereForTheBL231
[local] Reason: Translation identical to original
[local] Filtered out: 5hoursago
[local] Reason: Translation identical to original
[local] Running mask refinement
[mask]: 100%|██████████████████████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 39.45it/s]
[LamaLargeInpainter] Inpainting resolution: 1280x2048
[local] Running rendering
[render]: 100%|████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 24.34it/s]
[local] Saving "D:\JAM\Downloads\Until You Confess-translated\Luka's Birthday Party\011.jpg"
[local] Translating: "D:\JAM\Downloads\Until You Confess\Luka's Birthday Party\012.jpg"
[local] Loading models

Source: zyddnys/manga-image-translator