YaoFANGUK / video-subtitle-remover

基于AI的图片/视频硬字幕去除、文本水印去除,无损分辨率生成去字幕、去水印后的图片/视频文件。无需申请第三方API,本地实现。AI-based tool for removing hard-coded subtitles and text-like watermarks from videos or Pictures.
Apache License 2.0
3.25k stars 431 forks source link

关于显存释放 #70

Open ganjunhong opened 1 month ago

ganjunhong commented 1 month ago

感谢大佬的开源分享,写的太棒了。 有个问题是,paddleocr这里的引用,调用完paddle的任务后,没有释放掉paddle的对应的显存,如果任务不停,会导致显存不断积累