Skip to content

Instantly share code, notes, and snippets.

@andreyryabtsev
Last active January 16, 2024 11:59
Show Gist options
  • Save andreyryabtsev/243aa3eefa6e06891dda7b1583d1d08f to your computer and use it in GitHub Desktop.
Save andreyryabtsev/243aa3eefa6e06891dda7b1583d1d08f to your computer and use it in GitHub Desktop.
BackMatting.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sicily-F
Copy link

Sicily-F commented Dec 23, 2020

Hi! I have a small query. I am very interesting in background matting as a technique, however, I don't have photos with a separate background with and without the subject - I have photos of birds in a cage, and I wish to remove the background of the cage bars. I used the background photo for each image as the cropped background of the cage, so the photos are not the same size for the segmentation.

I got this error code
CUDA Device: 0 Using image mode

But it didn't seem like the segmentation actually was performed on the 7 examples of background and image that I provided - any advice would be GREATLY appreciated!

My results when I try and plot are [] instead of any images

@Flock1
Copy link

Flock1 commented Dec 29, 2020

@Sicily-F, from what I can imagine this is probably because it's not reading the images. Can you post the whole error? I might be able to figure out where exactly is the problem

@amrzv
Copy link

amrzv commented Feb 4, 2023

This colab is no longer works because tf<2 is no longer supported in google colaboratory.

@saidulu31
Copy link

I'm getting issue when Setting up the environment:

Screenshot 2024-01-16 172758

can u please explain how to solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment