video-subtitle-remover
video-subtitle-remover copied to clipboard
没反应 请帮帮忙
Open Video Success:F:/rubick/2.mp4
SubtitleArea:(965,1060,189,1291)
use GPU for acceleration
use sttn mode with no detection
[Processing] start removing subtitles...
Processing: 1 - 30 / Total: 5007
Exception in thread Thread-3:
Traceback (most recent call last):
File "F:\vsr_windows_gpu_v1.1.0.zip\Python\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "F:\vsr_windows_gpu_v1.1.0.zip\Python\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\gui.py", line 277, in task
self.sr.run()
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\backend\main.py", line 719, in run
self.sttn_mode(tbar)
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\backend\main.py", line 596, in sttn_mode
self.sttn_mode_with_no_detection(tbar)
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\backend\main.py", line 588, in sttn_mode_with_no_detection
sttn_video_inpaint(input_mask=mask, input_sub_remover=self, tbar=tbar)
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\backend\inpaint\sttn_inpaint.py", line 278, in call
comps[k] = self.sttn_inpaint.inpaint(frames[k])
File "F:\vsr_windows_gpu_v1.1.0.zip\resources\backend\inpaint\sttn_inpaint.py", line 150, in inpaint
pred_img = pred_img.cpu().permute(0, 2, 3, 1).numpy() * 255
RuntimeError: CUDA error: the launch timed out and was terminated
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA
to enable device-side assertions.
cmd窗口代码
→[2024-05-21 08:18:56,096] [DEBUG] | Active code page: 65001 →[2024-05-21 08:18:56,112] [DEBUG] | 终端命令执行成功! →[2024-05-21 08:18:56,112] [DEBUG] | 正在连接PIPTerminal →[2024-05-21 08:18:56,143] [DEBUG] | 已设置PIP跨版本编译模式,目标解释器路径为:F:\vsr_windows_gpu_v1.1.0.zip\Python\python.exe →[2024-05-21 08:18:56,143] [DEBUG] | SHELL: chcp 65001 →[2024-05-21 08:18:56,232] [DEBUG] | Windows PowerShell →[2024-05-21 08:18:56,232] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved. →[2024-05-21 08:18:56,232] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6 →[2024-05-21 08:18:56,482] [DEBUG] | PS F:\vsr_windows_gpu_v1.1.0.zip> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $? →[2024-05-21 08:18:56,498] [DEBUG] | Active code page: 65001 →[2024-05-21 08:18:56,498] [DEBUG] | 终端命令执行成功! →[2024-05-21 08:18:56,498] [DEBUG] | 正在连接PTerminal →[2024-05-21 08:18:56,498] [INFO] | 初次使用将会适应本地环境,可能需要几分钟时间,请耐心等待... 初始化进度-21 081/7 |━━ | 14.29% AutoPythonEnv部署中...→[2024-05-21 08:18:56,498] [DEBUG] | 正在加载AutoPythonEnv-UnPackPythonEnvOptOP 初始化进度-21 082/7 |━━━━━ | 28.57% QPTDependencyPackage部署中...→[2024-05-21 08:18:56,498] [DEBUG] | 正在加载QPTDependencyPackage-LocalInstallWhlOptOP →[2024-05-21 08:18:56,498] [DEBUG] | 找到该OP状态文件LocalInstallWhlOpt.inactive,故跳过该OP 初始化进度-21 083/7 |━━━━━━━━ | 42.86% CopyCUDAPackage部署中...→[2024-05-21 08:18:56,498] [DEBUG] | 正在加 载CopyCUDAPackage-SetCUDAEnvOP 初始化进度-21 084/7 |━━━━━━━━━━━ | 57.14% NoneName_paddlepaddle-gpu部署中...→[2024-05-21 08:18:56,514] [DEBUG] | 正在加载NoneName_paddlepaddle-gpu-LocalInstallWhlOptOP →[2024-05-21 08:18:56,514] [DEBUG] | 找到该OP状态文件LocalInstallWhlOpt.inactive,故跳过该OP →[2024-05-21 08:18:56,514] [DEBUG] | 正在加载NoneName_paddlepaddle-gpu-SetPaddleFamilyEnvValueOptOP 初始化进度-21 085/7 |━━━━━━━━━━━━━━ | 71.43% AutoRequirementsPackage部署中...→[2024-05-21 08:18:56,514] [DEBUG] | 正在加载AutoRequirementsPackage-LocalInstallWhlOptOP →[2024-05-21 08:18:56,514] [DEBUG] | 找到该OP状态文件LocalInstallWhlOpt.inactive,故跳过该OP 初始化进度-21 086/7 |━━━━━━━━━━━━━━━━━ | 85.71% 初始化完毕→[2024-05-21 08:18:56,514] [INFO] | ----------WARNING SUMMARY →[2024-05-21 08:18:56,514] [INFO] | 0|C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b4.dev6中 ~ 字符会可能影响使 用。
→[2024-05-21 08:18:56,514] [INFO] | 1|当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录 为C:/q_tmp
→[2024-05-21 08:18:56,514] [INFO] | ----------ERROR SUMMARY
→[2024-05-21 08:18:56,514] [INFO] | ----------生成状态WARNING:2 ERROR:0
→[2024-05-21 08:18:56,514] [DEBUG] | SHELL: cd "F:\vsr_windows_gpu_v1.1.0.zip\resources";./../Python/python.exe "F:\vsr_windows_gpu_v1.1.0.zip\resources\gui.py"
PS F:\vsr_windows_gpu_v1.1.0.zip> cd "F:\vsr_windows_gpu_v1.1.0.zip\resources";./../Python/python.exe "F:\vsr_windows_gpu_v1.1.0.zip\resources\gui.py" ; echo "---QPT OUTPUT STATUS CODE---" $?
F:\vsr_windows_gpu_v1.1.0.zip\Python\Lib\site-packages\setuptools\sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
F:\vsr_windows_gpu_v1.1.0.zip\Python\Lib\site-packages\pkg_resources_init_.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('mpl_toolkits')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
F:\vsr_windows_gpu_v1.1.0.zip\Python\Lib\site-packages\pkg_resources_init_.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
Running Verify Fluid Program ...
W0521 08:19:24.808398 8220 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 5.0, Driver API Version: 12.4, Runtime API Version: 11.7
W0521 08:19:24.808398 8220 gpu_resources.cc:91] device: 0, cuDNN Version: 8.5.
Your Paddle Fluid works well on SINGLE GPU or CPU.
Your Paddle Fluid works well on MUTIPLE GPU or CPU.
Your Paddle Fluid is installed successfully! Let's start deep Learning with Paddle Fluid now
1920 1080
Subtitle Removing: 0%| | 0/5007 [01:00<?, ?frame/s]