Giter Site home page Giter Site logo

propainter_pro's Introduction

Pro Inpainting Tool

Using Pro-Painter and Segment-and-Track Anything to remove objects from video.

Setup repo

Parent Repo

git clone https://github.com/Drwaish/ProPainter_pro.git
cd ProPainter_pro

Dependent Repos

Segment and Track Anything

git clone https://github.com/z-x-yang/Segment-and-Track-Anything.git
cd Segment-and-Track-Anything/

Now download Models and install dependencies Run following command in Segment and Track Anything

mkdir ./ckpt

Now run bash script to download model.

bash script/download_ckpt.sh

Installing dependencies

bash script/install.sh

Install gradio for interactive interface.

pip install gradio 

Pro-Painter

git clone https://github.com/sczhou/ProPainter.git
cd ProPainter

Download weights in weights folder

cd weights
wget https://github.com/sczhou/ProPainter/releases/download/v0.1.0/ProPainter.pth
wget https://github.com/sczhou/ProPainter/releases/download/v0.1.0/i3d_rgb_imagenet.pt
wget https://github.com/sczhou/ProPainter/releases/download/v0.1.0/raft-things.pth
wget https://github.com/sczhou/ProPainter/releases/download/v0.1.0/recurrent_flow_completion.pth

Change directory to Pro-Painter

cd ..

Install mmcv-full

pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html

Install Libraries

pip install -r requirements.txt

Install following libraries

pip install einops
pip install av 

Change directory to Parent

cd ..

Now run helper function.

python helper.py

Everything is setup now time see magic of AI

cd Segment-and-Track-Anything
python app.py

Enter prompt and enjoy output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.