RepoReplicateReplicatepublished Oct 4, 2023seen 5d

replicate/cog-inst-inpaint

Python

Open original ↗

Captured source

source ↗
published Oct 4, 2023seen 5dcaptured 13hhttp 200method plain

replicate/cog-inst-inpaint

Description: Cog wrapper for Inst-Inpaint

Language: Python

Stars: 1

Forks: 0

Open issues: 0

Created: 2023-10-04T10:39:20Z

Pushed: 2023-10-04T10:49:32Z

Default branch: main

Fork: no

Archived: no

README:

Cog-Inst-Inpaint

This is an implementation of Inst-Inpaint as a Cog model. Inst-Inpaint is a diffusion based model that performs text-guided object removal from images. For more details, see this Replicate model, paper and project website.

Development

Follow the model pushing guide to push your fork or other models to Replicate.

Basic Usage

To run a prediction:

cog predict -i image=@cups.webp -i instruction="remove the cup on the left"
cog run -p 5000 python -m cog.server.http

References

@misc{yildirim2023instinpaint,
title={Inst-Inpaint: Instructing to Remove Objects with Diffusion Models},
author={Ahmet Burak Yildirim and Vedat Baday and Erkut Erdem and Aykut Erdem and Aysegul Dundar},
year={2023},
eprint={2304.03246},
archivePrefix={arXiv},
primaryClass={cs.CV}
}