mlhubber / mlflutter

GNU General Public License v3.0
1 stars 0 forks source link

MLFLUTTER: Add rembg as Vision -> Background #23

Open gjwgit opened 1 week ago

gjwgit commented 1 week ago

https://github.com/gjwgit/rembg

$ ml install gijwgit/rembg
$ ml configure rembg
$ ml cutout rembg tmp.jpg
Downloading u2net.pth
Downloading u2net.pth to model: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 2.36k/2.36k [00:00<00:00, 6.12MiB/s]
Attempt 1 failed.
Downloading u2net.pth
Downloading u2net.pth to model: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 2.36k/2.36k [00:00<00:00, 5.76MiB/s]
Attempt 2 failed.
Downloading u2net.pth
Downloading u2net.pth to model: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 2.36k/2.36k [00:00<00:00, 4.31MiB/s]
Attempt 3 failed.
Downloading u2net.pth
Downloading u2net.pth to model: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 2.36k/2.36k [00:00<00:00, 5.92MiB/s]
Attempt 4 failed.
Downloading u2net.pth
Downloading u2net.pth to model: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 2.36k/2.36k [00:00<00:00, 4.03MiB/s]
Attempt 5 failed.

Probably needs an update - the original rembg has quite a few more commits.