Chucked this into a Dockerfile, and had a play with it. (Takes a while for torch to download, had to set the pip default-timeout higher)
Seems to work pretty well, there were some images I had where it left a bit of a blur around hair, but overall it worked pretty well on most of the ones I tried!
Chucked in imagemagik as well to do some trimming/colour manipulation - works pretty nicely