BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

Bug 反馈:更新后缺失库?

Open Smile8848 opened this issue 1 month ago • 5 comments

版本信息

Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Python executable: H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe Version: 1.4.0 Branch: dev Commit hash: 8a10f036542e53f3d95619b23a1952d14c992541 Device name: NVIDIA GeForce RTX 5060 Cuda is available: True Cuda version: 12.8 ZLUDA is available: False

问题描述

Image 使用 for manga报错

文本检测

None

OCR

None

Inpaint

None

翻译器

None

屏幕截图

No response

日志


其他信息

No response

Smile8848 avatar Dec 06 '25 06:12 Smile8848

在软件根目录使用 可以解决 .\ballontrans_pylibs_win\python.exe -m pip install -U protobuf

Smile8848 avatar Dec 06 '25 06:12 Smile8848

[WARNING] font_detect:prepare_fonts:119 - Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' WARNING:utils.font_detect:Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' [ERROR ] font_detect:prepare_fonts:120 - Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset' ERROR:utils.font_detect:Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset'

另外字体识别模型功能也报错,删除font_demo_cache.bin文件可以使用,不知道会有什么问题。

Smile8848 avatar Dec 06 '25 06:12 Smile8848

第二个问题麻烦 @jqk4388 看下

dmMaze avatar Dec 06 '25 10:12 dmMaze

[WARNING] font_detect:prepare_fonts:119 - Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' WARNING:utils.font_detect:Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' [ERROR ] font_detect:prepare_fonts:120 - Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset' ERROR:utils.font_detect:Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset'

另外字体识别模型功能也报错,删除font_demo_cache.bin文件可以使用,不知道会有什么问题。

需要去下载字体识别模型的github中的font_dataset文件夹,字体缓存文件依赖这个运行

jqk4388 avatar Dec 06 '25 10:12 jqk4388

[WARNING] font_detect:prepare_fonts:119 - Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' WARNING:utils.font_detect:Could not load font cache at H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\data\font_demo_cache.bin: No module named 'font_dataset' [ERROR ] font_detect:prepare_fonts:120 - Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset' ERROR:utils.font_detect:Exception details: Traceback (most recent call last): File "H:\C盘备份\BallonsTranslator_dev_src_with_gitpython\utils\font_detect.py", line 97, in prepare_fonts font_objects = pickle.load(f) ModuleNotFoundError: No module named 'font_dataset' 另外字体识别模型功能也报错,删除font_demo_cache.bin文件可以使用,不知道会有什么问题。

需要去下载字体识别模型的github中的font_dataset文件夹,字体缓存文件依赖这个运行

ok,下载后成功跑起来了。

Image

Smile8848 avatar Dec 06 '25 11:12 Smile8848