Instructions to use reidn3r/u2net-image-rembg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use reidn3r/u2net-image-rembg with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://reidn3r/u2net-image-rembg") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from reidn3r/u2net-image-rembg: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/reidn3r/u2net-image-rembg/resolve/main/README.md
- Command line
-
hf download hf://reidn3r/u2net-image-rembg/README.md
-
curl -L -o README.md https://huggingface.co/reidn3r/u2net-image-rembg/resolve/main/README.md
1.08 kB
metadata
library_name: keras
language:
- pt
- en
tags:
- art
- image
- remove-background
- u^2-net
- residual
U²-Net
Input Shape:(512, 512, 3)
This is an implementation of U²-Net for image background removing purposes based on this paper. The U²-Net architecture is designed to capture both fine details and global context, making it highly effective for image segmentation tasks such as background removal.
Dataset
Dichotomous Image Segmentation (DIS) is a dataset wich contains around 5k images (images + masks) and it's used in image segmenation model training.
You can find more about this dataset here.
Me:
Find me at GitHub: https://github.com/reidn3r
Find me at Linkedin: https://www.linkedin.com/in/reidner-adnan/
Project repository: GitHub repository