laxmareddyp commited on
Commit
cdf7ce8
1 Parent(s): 35c1d4f

Update deeplab_v3_plus README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -15
README.md CHANGED
@@ -1,18 +1,39 @@
1
  ---
2
  library_name: keras-hub
3
  ---
4
- This is a [`DeepLabV3` model](https://keras.io/api/keras_hub/models/deep_lab_v3) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
5
- This model is related to a `ImageSegmenter` task.
6
-
7
- Model config:
8
- * **name:** deep_lab_v3_backbone
9
- * **trainable:** True
10
- * **image_encoder:** {'module': 'keras_hub.src.models.resnet.resnet_backbone', 'class_name': 'ResNetBackbone', 'config': {'name': 'res_net_backbone', 'trainable': True, 'input_conv_filters': [64], 'input_conv_kernel_sizes': [7], 'stackwise_num_filters': [64, 128, 256, 512], 'stackwise_num_blocks': [3, 4, 6, 3], 'stackwise_num_strides': [1, 2, 2, 2], 'block_type': 'bottleneck_block', 'use_pre_activation': False, 'image_shape': [None, None, 3]}, 'registered_name': 'keras_hub>ResNetBackbone'}
11
- * **projection_filters:** 48
12
- * **dilation_rates:** [6, 12, 18]
13
- * **upsampling_size:** 8
14
- * **low_level_feature_key:** P2
15
- * **spatial_pyramid_pooling_key:** P5
16
- * **image_shape:** [None, None, 3]
17
-
18
- This model card has been generated automatically and should be completed by the model author. See [Model Cards documentation](https://huggingface.co/docs/hub/model-cards) for more information.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  library_name: keras-hub
3
  ---
4
+ This is a [`DeepLabV3` model](https://keras.io/api/keras_hub/models/deeplab_v3/) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
5
+ This model is related to an `ImageSegmenter` task.
6
+
7
+ # Model Details
8
+
9
+ DeepLabv3+ model is developed by Google for semantic segmentation. This guide demonstrates how to finetune and use DeepLabv3+ model for image semantic segmentaion with KerasCV. Its architecture that combines atrous convolutions, contextual information aggregation, and powerful backbones to achieve accurate and detailed semantic segmentation. The DeepLabv3+ model has been shown to achieve state-of-the-art results on a variety of image segmentation benchmarks. This model is supported in both KerasCV and KerasHub. KerasCV will no longer be actively developed, so please try to use KerasHub. Weights are released under the [Apache 2 License](https://apache.org/licenses/LICENSE-2.0). Keras model code is released under the [Apache 2 License](https://github.com/keras-team/keras-hub/blob/master/LICENSE).
10
+
11
+ ## Links
12
+
13
+ * [DeepLabV3Plus Quickstart Notebook](https://www.kaggle.com/code/laxmareddypatlolla/deeplabv3-quickstart)
14
+ * [DeepLabV3Plus Finetune Notebook](https://www.kaggle.com/code/prasadsachin/deeplabv3plus-finetune-notebook/)
15
+ * [DeepLabV3Plus API Documentation](https://keras.io/api/keras_hub/models/deeplab_v3/)
16
+
17
+ ## Installation
18
+
19
+ Keras and KerasHub can be installed with:
20
+
21
+ ```
22
+ pip install -U -q keras-hub
23
+ pip install -U -q keras
24
+ ```
25
+
26
+ Jax, TensorFlow, and Torch come preinstalled in Kaggle Notebooks. For instructions on installing them in another environment see the [Keras Getting Started](https://keras.io/getting_started/) page.
27
+
28
+ ## Presets
29
+
30
+ The following model checkpoints are provided by the Keras team. Full code examples for each are available below.
31
+
32
+ | Preset name | Parameters | Description |
33
+ |------------------------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
34
+ | deeplab_v3_plus_resnet50_pascalvoc | 39.1M | DeeplabV3Plus with a ResNet50 v2 backbone. Trained on PascalVOC 2012 Semantic segmentation task, which consists of 20 classes and one background class. This model achieves a final categorical accuracy of 89.34% and mIoU of 0.6391 on evaluation dataset. This preset is only comptabile with Keras 3. |
35
+
36
+ ## Model paper
37
+
38
+ https://arxiv.org/abs/1802.02611
39
+