Skip to content

Commit 91f1bd5

Browse files
committed
fix: workflow涓紭鍏堝畨瑁卼ufup浠ラ伩鍏嶄緷璧栭棶棰? 娣诲姞v1.7.0 CHANGELOG
1 parent 1049c28 commit 91f1bd5

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22+
pip install tufup
2223
pip install -r requirements_cpu.txt
2324
pip install pyinstaller
2425
- name: Build CPU version
@@ -41,6 +42,7 @@ jobs:
4142
- name: Install dependencies
4243
run: |
4344
python -m pip install --upgrade pip
45+
pip install tufup
4446
pip install -r requirements_gpu.txt
4547
pip install pyinstaller
4648
- name: Build GPU version

CHANGELOG_v1.7.0.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,30 @@
33
## 🐛 Bug修复
44

55
### 修复仅上色模式批量处理失败问题
6-
- **问题**: 在高质量翻译模式下使用仅上色功能时所有图片被错误标记为失败
7-
- **原因**: 仅上色模式设置了空的 `text_regions`但高质量批处理的完成管道(`_complete_translation_pipeline`)仍然被调用检测到空区域后触发"Text translator returned empty queries"警告并将 `ctx.result` 重置为 `None`
6+
- **问题**: 在高质量翻译模式下使用仅上色功能时,所有图片被错误标记为失败
7+
- **原因**: 仅上色模式设置了空的 `text_regions`,但高质量批处理的完成管道(`_complete_translation_pipeline`)仍然被调用,检测到空区域后触发"Text translator returned empty queries"警告并将 `ctx.result` 重置为 `None`
88
- **修复**:
9-
-`_complete_translation_pipeline` 方法开始处添加仅上色模式检查直接返回上色结果
10-
- 在高质量批处理渲染阶段添加条件判断跳过仅上色模式下的渲染管道调用
9+
-`_complete_translation_pipeline` 方法开始处添加仅上色模式检查,直接返回上色结果
10+
- 在高质量批处理渲染阶段添加条件判断,跳过仅上色模式下的渲染管道调用
1111
- **影响**: 仅上色模式现在可以正确保存结果并标记为成功状态
1212

1313
## 📝 配置更新
1414

1515
### examples/config-example.json
16-
- 移除了绝对路径示例`last_open_dir``last_output_path` 设为空字符串
17-
- 更新 `colorization_size` 从 576 到 2048提高上色质量
16+
- 移除了绝对路径示例(`last_open_dir``last_output_path` 设为空字符串)
17+
- 更新 `colorization_size` 从 576 到 2048(提高上色质量)
1818
- 修正上色器配置
1919

2020
## 🧪 测试
2121

22-
- 新增 `test_colorize_only_batch.py` 测试脚本用于验证仅上色批处理功能
22+
- 新增 `test_colorize_only_batch.py` 测试脚本,用于验证仅上色批处理功能
2323

2424
## 📋 技术细节
2525

2626
**修改文件**:
2727
1. `manga_translator/manga_translator.py`
28-
- 第3098-3100行添加仅上色模式提前返回逻辑
29-
- 第3568-3570行添加渲染管道跳过检查
28+
- 第3098-3100行:添加仅上色模式提前返回逻辑
29+
- 第3568-3570行:添加渲染管道跳过检查
3030

3131
2. `examples/config-example.json`
3232
- 清理示例配置文件的绝对路径

0 commit comments

Comments
 (0)