惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

福利 on 打工人日志

KyBook 3 | calibre-web - IOS系统最佳图书伴侣 iOS 17 「待机显示」适配普通 iPhone(非 Pro/Max),屏幕在充电时常亮 【福利】埃隆·马斯克传 [沃尔特·艾萨克森] 在线下载 【破解】小鹏P5和小鹏G9开启adb和网络adb 3D Gaussian Splatting:3D模型渲染 2023亚运会电竞门票民购买指南(报名+抽签) 大麦抢票辅助软件(福利 TFBOYS十年之约演唱会 2023 全机位 视频) 最好的微信朋友圈集赞神器-福利推荐
【福利】免费!本地部署!去除视频中移动的物体
2024-07-22 · via 福利 on 打工人日志

分享一款 去除视频中移动的物体。的本地部署软件,完全免费!

效果

物体移除

物体移除1
物体移除2

水印去除

水印去除1
水印去除2

下载地址

国内下载

代码仓库

ProPainter

安装

1git clone https://github.com/sczhou/ProPainter.git
1conda create -n propainter python=3.8 -y
2conda activate propainter
3cd ProPainter
4pip3 install -r requirements.txt

版本要求

  • CUDA >= 9.2
  • PyTorch >= 1.7.1
  • Torchvision >= 0.8.2

开始使用

准备预训练模型

预训练模型从版本 V0.1.0 下载到 weights 文件夹。
https://github.com/sczhou/ProPainter/releases/tag/v0.1.0

1weights
2   |- ProPainter.pth
3   |- recurrent_flow_completion.pth
4   |- raft-things.pth
5   |- i3d_rgb_imagenet.pt (for evaluating VFID metric)
6   |- README.md

快速测试

1# The first example (object removal)
2python inference_propainter.py --video inputs/object_removal/bmx-trees --mask inputs/object_removal/bmx-trees_mask 
3# The second example (video completion)
4python inference_propainter.py --video inputs/video_completion/running_car.mp4 --mask inputs/video_completion/mask_square.png --height 240 --width 432

内存高效推理

视频修复通常需要大量 GPU 内存。在这里,我们提供了各种有助于内存高效推理的功能,有效避免内存不足(OOM)错误。您可以使用以下选项进一步减少内存使用量:

  • 通过减少 --neighbor_length (默认 10)来减少本地邻居的数量。
  • 通过增加 --ref_stride (默认 10)来减少全局引用的数量。
  • 设置 --resize_ratio (默认1.0)以调整处理视频的大小。
  • 通过指定 --width--height 设置较小的视频大小。
  • 设置 --fp16 在推理过程中使用 fp16(半精度)。
  • 减少子视频 --subvideo_length 的帧数(默认80),有效解耦GPU内存消耗和视频长度。

训练

1 # For training Recurrent Flow Completion Network
2 python train.py -c configs/train_flowcomp.json
3 # For training ProPainter
4 python train.py -c configs/train_propainter.json

web端

Hugging Face 在线演示
OpenXLab 在线演示