Instructions to use keras/basnet_duts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/basnet_duts with KerasHub:
import keras_hub # Create a ImageSegmenter model task = keras_hub.models.ImageSegmenter.from_preset("hf://keras/basnet_duts")import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/basnet_duts") - Keras
How to use keras/basnet_duts with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://keras/basnet_duts") - Notebooks
- Google Colab
- Kaggle
File size: 189 Bytes
2d94dbc | 1 2 3 4 5 6 7 8 9 | {
"keras_version": "3.7.0",
"keras_hub_version": "0.19.0",
"parameter_count": 108886792,
"date_saved": "2025-01-16@11:09:14",
"tasks": [
"ImageSegmenter"
]
} |