Example usage of MODNet (https://github.com/ZHKKKe/MODNet) for Background Removal in CPU Mode. I've adopted their interference code.
Get weights gdown --id 1mcr7ALciuAsHCpLnrtG_eop5-EYhbCmz -O pretrained/modnet_photographic_portrait_matting.ckpt
They also have a nice Jupyterr Notebook https://colab.research.google.com/drive/1GANpbKT06aEFiW-Ssx0DQnnEADcXwQG6?usp=sharing#scrollTo=gEwiokUgkSDO