mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-05-07 10:07:30 +08:00
移除ProPainter模式:删除代码、模型、UI设置和翻译
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 3s
Docker Build and Push / build-and-push (cpu, latest) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CPU / build (push) Has been cancelled
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
Some checks failed
Docker Build and Push / check-secrets (push) Successful in 3s
Docker Build and Push / build-and-push (cpu, latest) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 11.8) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.6) (push) Has been skipped
Docker Build and Push / build-and-push (cuda, 12.8) (push) Has been skipped
Docker Build and Push / build-and-push (directml, latest) (push) Has been skipped
Build Windows CPU / build (push) Has been cancelled
Build Windows CUDA 11.8 / build (push) Has been cancelled
Build Windows CUDA 12.6 / build (push) Has been cancelled
Build Windows CUDA 12.8 / build (push) Has been cancelled
Build Windows DirectML / build (push) Has been cancelled
ProPainter算法占用341MB模型文件且需要大量显存,移除以精简项目。 - 删除 backend/inpaint/propainter_inpaint.py 和 video/ 模块 - 删除 backend/models/propainter/ 模型目录 - 移除 InpaintMode.PROPAINTER 枚举和 propainterMaxLoadNum 配置 - 移除高级设置页面的 ProPainter 设置组 - 清理所有7种语言的翻译文件 - 更新 README 和 .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ options:
|
||||
Output video file path (optional)
|
||||
--subtitle-area-coords YMIN YMAX XMIN XMAX, -c YMIN YMAX XMIN XMAX
|
||||
Subtitle area coordinates (ymin ymax xmin xmax). Can be specified multiple times for multiple areas.
|
||||
--inpaint-mode {sttn-auto,sttn-det,lama,propainter,opencv}
|
||||
--inpaint-mode {sttn-auto,sttn-det,lama,opencv}
|
||||
Inpaint mode, default is sttn-auto
|
||||
```
|
||||
## 演示
|
||||
@@ -234,7 +234,6 @@ STTN_SKIP_DETECTION = True # 跳过字幕检测,跳过后可能会导致要去
|
||||
|
||||
> - InpaintMode.STTN 算法:对于真人视频效果较好,速度快,可以跳过字幕检测
|
||||
> - InpaintMode.LAMA 算法:对于图片效果最好,对动画类视频效果好,速度一般,不可以跳过字幕检测
|
||||
> - InpaintMode.PROPAINTER 算法: 需要消耗大量显存,速度较慢,对运动非常剧烈的视频效果较好
|
||||
|
||||
- 使用STTN算法
|
||||
|
||||
|
||||
Reference in New Issue
Block a user