merve HF staff commited on
Commit
b4f9709
1 Parent(s): de94e90

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -7,7 +7,6 @@ dataset:
7
  - oxfort-iit pets
8
  license: apache-2.0
9
  ---
10
- ![Segmented Cat](./hircin_the_cat.png)
11
  ## Keras semantic segmentation models on the 🤗Hub! 🐶 🐕 🐩
12
 
13
  Image classification task tells us about a class assigned to an image, and object detection task creates a boundary box on an object in an image. But what if we want to know about the shape of the image? Segmentation models helps us segment images and reveal their shapes. It has many variants. You can host your Keras segmentation models on the Hub.
@@ -15,6 +14,7 @@ Semantic segmentation models classify pixels, meaning, they assign a class (can
15
  ![Raw Output](./raw_output.jpg)
16
  We need to get the best prediction for every pixel.
17
  ![Mask](./mask.jpg)
18
- This is still not readable. We have to convert this into different binary masks for each class and convert to a readable format by converting each mask into base64. You can find the full implementation in pipeline.py.
19
  ![Binary Mask](./binary_mask.jpg)
20
- Now that you know the expected output by the model, you can host your Keras segmentation models (and other semantic segmentation models) in the similar fashion. Try it yourself and host your models!
 
 
7
  - oxfort-iit pets
8
  license: apache-2.0
9
  ---
 
10
  ## Keras semantic segmentation models on the 🤗Hub! 🐶 🐕 🐩
11
 
12
  Image classification task tells us about a class assigned to an image, and object detection task creates a boundary box on an object in an image. But what if we want to know about the shape of the image? Segmentation models helps us segment images and reveal their shapes. It has many variants. You can host your Keras segmentation models on the Hub.
 
14
  ![Raw Output](./raw_output.jpg)
15
  We need to get the best prediction for every pixel.
16
  ![Mask](./mask.jpg)
17
+ This is still not readable. We have to convert this into different binary masks for each class and convert to a readable format by converting each mask into base64. We will return a list of dicts, and for each dictionary, we have the label itself, the base64 code and a score (semantic segmentation models don't return a score, so we have to return 1.0 for this case). You can find the full implementation in ```pipeline.py```.
18
  ![Binary Mask](./binary_mask.jpg)
19
+ Now that you know the expected output by the model, you can host your Keras segmentation models (and other semantic segmentation models) in the similar fashion. Try it yourself and host your segmentation models!
20
+ ![Segmented Cat](./hircin_the_cat.png)