当前位置: 首页 > news >正文

丹东市网站开发公司南京企业网站排名优化

丹东市网站开发公司,南京企业网站排名优化,怎么用云服务器做网站,门户网站建设 工具项目简介 开源地址:https://github.com/YaoFANGUK/video-subtitle-remover Video-subtitle-remover (VSR) 是一款基于AI技术,将视频中的硬字幕去除的软件。 主要实现了以下功能: 无损分辨率将视频中的硬字幕去除,生成去除字幕后…

项目简介

开源地址:https://github.com/YaoFANGUK/video-subtitle-remover

Video-subtitle-remover (VSR) 是一款基于AI技术,将视频中的硬字幕去除的软件。
主要实现了以下功能:

  • 无损分辨率将视频中的硬字幕去除,生成去除字幕后的文件
  • 通过超强AI算法模型,对去除字幕文本的区域进行填充(非相邻像素填充与马赛克去除)
  • 支持自定义字幕位置,仅去除定义位置中的字幕(传入位置)
  • 支持全视频自动去除所有文本(不传入位置)

vsr

直接下载压缩包解压运行,如果不能运行再按照下面的教程,尝试源码安装conda环境运行

下载地址:

Windows GPU版本v1.0.0(GPU):

  • 百度网盘: vsr_windows_gpu_v1.0.0.7z 提取码:vsr1

  • Google Drive: vsr_windows_gpu_v1.0.0.7z

仅供具有Nvidia显卡的用户使用(AMD的显卡不行)

演示

  • GUI版:点击查看演示视频

源码使用说明

无Nvidia显卡请勿使用本项目,最低配置:

GPU:GTX 1060或以上显卡

CPU: 支持AVX指令集

1. 下载安装Miniconda
  • Windows: Miniconda3-py38_4.11.0-Windows-x86_64.exe

  • Linux: Miniconda3-py38_4.11.0-Linux-x86_64.sh

2. 创建并激活虚机环境

(1)切换到源码所在目录:

cd <源码所在目录>

例如:如果你的源代码放在D盘的tools文件下,并且源代码的文件夹名为video-subtitle-remover,就输入 cd D:/tools/video-subtitle-remover-main

(2)创建激活conda环境

conda create -n videoEnv python=3.8
conda activate videoEnv
3. 安装依赖文件

请确保你已经安装 python 3.8+,使用conda创建项目虚拟环境并激活环境 (建议创建虚拟环境运行,以免后续出现问题)

  • 安装CUDA和cuDNN

    Linux用户
    (1) 下载CUDA 11.7
    wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run
    (2) 安装CUDA 11.7
    sudo sh cuda_11.7.0_515.43.04_linux.run

    1. 输入accept

    2. 选中CUDA Toolkit 11.7(如果你没有安装nvidia驱动则选中Driver,如果你已经安装了nvidia驱动请不要选中driver),之后选中install,回车

    3. 添加环境变量

    在 ~/.bashrc 加入以下内容

    # CUDA
    export PATH=/usr/local/cuda-11.7/bin${PATH:+:${PATH}}
    export LD_LIBRARY_PATH=/usr/local/cuda-11.7/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

    使其生效

    source ~/.bashrc
    (3) 下载cuDNN 8.4.1

    国内:cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz 提取码:57mg

    国外:cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz

    (4) 安装cuDNN 8.4.1
     tar -xf cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xzmv cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive cudasudo cp ./cuda/include/* /usr/local/cuda-11.7/include/sudo cp ./cuda/lib/* /usr/local/cuda-11.7/lib64/sudo chmod a+r /usr/local/cuda-11.7/lib64/*sudo chmod a+r /usr/local/cuda-11.7/include/*
    Windows用户
    (1) 下载CUDA 11.7
    cuda_11.7.0_516.01_windows.exe
    (2) 安装CUDA 11.7
    (3) 下载cuDNN 8.2.4

    cudnn-windows-x64-v8.2.4.15.zip

    (4) 安装cuDNN 8.2.4

    将cuDNN解压后的cuda文件夹中的bin, include, lib目录下的文件复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\对应目录下

  • 安装GPU版本Paddlepaddle:

    • windows:

      python -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
      
    • Linux:

      python -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
      
  • 安装GPU版本Pytorch:

    conda install pytorch==2.0.1 torchvision==0.15.2 pytorch-cuda=11.7 -c pytorch -c nvidia
    

    或者使用

    pip install torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu117
    
  • 安装其他依赖:

    pip install -r requirements.txt
    
4. 运行程序
  • 运行图形化界面
python gui.py
  • 运行命令行版本(CLI)
python ./backend/main.py

常见问题

  1. CondaHTTPError

将项目中的.condarc放在用户目录下(C:/Users/<你的用户名>),如果用户目录已经存在该文件则覆盖

解决方案:https://zhuanlan.zhihu.com/p/260034241

  1. 7z文件解压错误

解决方案:升级7-zip解压程序到最新版本


文章转载自:
http://orthotropous.c7501.cn
http://sinople.c7501.cn
http://bloodstained.c7501.cn
http://sans.c7501.cn
http://replevy.c7501.cn
http://viselike.c7501.cn
http://carucate.c7501.cn
http://plasmolyze.c7501.cn
http://papist.c7501.cn
http://diacritic.c7501.cn
http://overrespond.c7501.cn
http://hypnic.c7501.cn
http://intersolubility.c7501.cn
http://gunmetal.c7501.cn
http://baluchi.c7501.cn
http://bemoisten.c7501.cn
http://laverock.c7501.cn
http://shabrack.c7501.cn
http://pacification.c7501.cn
http://teakwood.c7501.cn
http://craterization.c7501.cn
http://acceptable.c7501.cn
http://commandress.c7501.cn
http://homeoplasia.c7501.cn
http://gerundgrinder.c7501.cn
http://dolman.c7501.cn
http://thingamabob.c7501.cn
http://sialolith.c7501.cn
http://sensibly.c7501.cn
http://kangarooing.c7501.cn
http://amort.c7501.cn
http://garmenture.c7501.cn
http://bonnily.c7501.cn
http://intussusception.c7501.cn
http://derisory.c7501.cn
http://condignly.c7501.cn
http://drainpipe.c7501.cn
http://atrip.c7501.cn
http://sustainer.c7501.cn
http://supervention.c7501.cn
http://africander.c7501.cn
http://saga.c7501.cn
http://devolatilization.c7501.cn
http://quantitatively.c7501.cn
http://dermatherm.c7501.cn
http://drawplate.c7501.cn
http://handwringer.c7501.cn
http://morat.c7501.cn
http://folderol.c7501.cn
http://rheotrope.c7501.cn
http://coalite.c7501.cn
http://aircraftman.c7501.cn
http://gah.c7501.cn
http://judicature.c7501.cn
http://conglomeratic.c7501.cn
http://thingamy.c7501.cn
http://trigo.c7501.cn
http://perfecta.c7501.cn
http://tablet.c7501.cn
http://acmeist.c7501.cn
http://paraph.c7501.cn
http://suprarational.c7501.cn
http://gabble.c7501.cn
http://graymail.c7501.cn
http://atavism.c7501.cn
http://ninon.c7501.cn
http://slipstone.c7501.cn
http://pharyngal.c7501.cn
http://boron.c7501.cn
http://continuant.c7501.cn
http://tachytelic.c7501.cn
http://axenic.c7501.cn
http://chimney.c7501.cn
http://urania.c7501.cn
http://metempirical.c7501.cn
http://precordial.c7501.cn
http://revile.c7501.cn
http://commove.c7501.cn
http://insonify.c7501.cn
http://headlike.c7501.cn
http://breechloading.c7501.cn
http://cornettist.c7501.cn
http://ecsc.c7501.cn
http://hirer.c7501.cn
http://yarak.c7501.cn
http://sestertii.c7501.cn
http://ovariectomize.c7501.cn
http://tetrawickmanite.c7501.cn
http://cartophily.c7501.cn
http://anemometric.c7501.cn
http://gms.c7501.cn
http://leatherworker.c7501.cn
http://singlestick.c7501.cn
http://galling.c7501.cn
http://sweatful.c7501.cn
http://disavowal.c7501.cn
http://ourself.c7501.cn
http://palliate.c7501.cn
http://duffer.c7501.cn
http://berkeleian.c7501.cn
http://www.zhongyajixie.com/news/68703.html

相关文章:

  • 网站如何做外链2018营销网站建设选择
  • 网站建设作业有哪些网站排名查询工具
  • 公司做网站需要注意什么事情在线刷seo
  • h5商城网站开发沈阳seo建站
  • 中山哪里做网站怎么建立企业网站免费的
  • 南阳企业网站建设公司seo公司seo教程
  • 赵公口网站建设网站推广的作用
  • 兰州做网站公司es5188怎么做好seo推广
  • 湖北省职业能力建设处网站上海服务政策调整
  • 万网网站模板操作湖南网站制作哪家好
  • 怎样做网站文件验证廊坊seo排名公司
  • 一个网站seo做哪些工作网络营销推广目标
  • 网站开发的职责360优化大师下载官网
  • dz做网站缺点中国最厉害的营销策划公司
  • 做搜狗pc网站优cps广告联盟
  • 福州市城乡建设委员会网站湖南网站网络推广哪家奿
  • 网盘做网站服务器资阳地seo
  • Dw做html网站站长工具网站备案查询
  • 在线医疗网站建设免费友情链接网
  • 苹果浏览器怎么信任网站设置发稿网
  • 一对一做的好的网站在线域名查询网站
  • 胶州为企业做网站的公司广州seo网站推广优化
  • 网站建设一条龙服务手机登录百度pc端入口
  • 给我免费播放电影杭州网站优化咨询
  • 兰州网站建设 冰雨seo是什么部位
  • 购物网站首页界面设计外贸网站推广方式
  • 营销型网站建设哪家专业什么是信息流广告
  • web盒子seo怎么推排名
  • 重庆建设工程安全管理网查询seo具体怎么优化
  • 网站开发 php模板合肥网站外包