javirk/object-removal-partial-convolutions 🖼️📝 → 🖼️

▶️ 906 runs 📅 May 2022 ⚙️ Cog 0.3.4 🔗 GitHub
image-editing image-inpainting image-object-removal

About

Removes specified objects from image

Example Output

Output

Example output

Performance Metrics

10.56s Prediction Time
135.54s Total Time
All Input Parameters
{
  "image_path": "https://replicate.delivery/mgxm/521ce1af-1bcf-457e-af4f-683461a76790/Screen_Shot_2022-05-24_at_10.29.55_PM.png",
  "objects_to_remove": "person"
}
Input Parameters
image_path (required) Type: string
Input image
objects_to_remove Type: stringDefault: person,car
Object(s) to remove (separate with comma, e.g. car,cat,bird). See full list of names at https://github.com/javirk/Person-remover-partial-convolutions/blob/master/detector/deeplab.names
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Deeplab model. person will be extracted
Downloading: "https://download.pytorch.org/models/resnet101-5d3b4d8f.pth" to /root/.cache/torch/hub/checkpoints/resnet101-5d3b4d8f.pth

  0%|          | 0.00/170M [00:00<?, ?B/s]
  3%|▎         | 5.90M/170M [00:00<00:02, 61.8MB/s]
 17%|█▋        | 28.7M/170M [00:00<00:00, 166MB/s]
 31%|███       | 52.2M/170M [00:00<00:00, 202MB/s]
 44%|████▍     | 74.9M/170M [00:00<00:00, 217MB/s]
 57%|█████▋    | 97.3M/170M [00:00<00:00, 223MB/s]
 70%|███████   | 120M/170M [00:00<00:00, 227MB/s]
 83%|████████▎ | 142M/170M [00:00<00:00, 229MB/s]
 97%|█████████▋| 165M/170M [00:00<00:00, 232MB/s]
100%|██████████| 170M/170M [00:00<00:00, 217MB/s]
Downloading: "https://download.pytorch.org/models/deeplabv3_resnet101_coco-586e9e4e.pth" to /root/.cache/torch/hub/checkpoints/deeplabv3_resnet101_coco-586e9e4e.pth

  0%|          | 0.00/233M [00:00<?, ?B/s]
  4%|▍         | 9.75M/233M [00:00<00:02, 102MB/s]
 15%|█▍        | 34.6M/233M [00:00<00:01, 196MB/s]
 25%|██▌       | 58.7M/233M [00:00<00:00, 221MB/s]
 36%|███▌      | 83.4M/233M [00:00<00:00, 236MB/s]
 46%|████▌     | 108M/233M [00:00<00:00, 243MB/s]
 57%|█████▋    | 132M/233M [00:00<00:00, 247MB/s]
 68%|██████▊   | 158M/233M [00:00<00:00, 254MB/s]
 78%|███████▊  | 183M/233M [00:00<00:00, 257MB/s]
 89%|████████▉ | 208M/233M [00:00<00:00, 259MB/s]
100%|█████████▉| 233M/233M [00:01<00:00, 258MB/s]
100%|██████████| 233M/233M [00:01<00:00, 243MB/s]
/tmp/tmp7vyh71ey/output.png
Version Details
Version ID
85b7606568d2b06d86b429df6e71c24a89dda2bb8b830188f25f12d6d2a2dbd9
Version Created
May 25, 2022
Run on Replicate →