Run this model with HF Jobs
Run reidn3r/u2net-image-rembg on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/reidn3r/u2net-image-rembg. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/reidn3r/u2net-image-rembg on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
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
- Downloads last month
- 27