Spaces:
Runtime error
Runtime error
minor update to look good visually
#6
by
sankhyikii
- opened
app.py
CHANGED
@@ -100,7 +100,11 @@ def sepia(input_img):
|
|
100 |
title = "SegFormer(ADE20k) in TensorFlow"
|
101 |
description = """
|
102 |
|
103 |
-
This is demo TensorFlow SegFormer from π€ `transformers` official package.
|
|
|
|
|
|
|
|
|
104 |
|
105 |
"""
|
106 |
|
|
|
100 |
title = "SegFormer(ADE20k) in TensorFlow"
|
101 |
description = """
|
102 |
|
103 |
+
This is demo TensorFlow SegFormer from π€ `transformers` official package.
|
104 |
+
The pre-trained model was trained to segment scene specific images. We are **currently using ONNX model converted from the TensorFlow based SegFormer to improve the latency**.
|
105 |
+
The average latency of an inference is **21** and **8** seconds for TensorFlow and ONNX converted models respectively
|
106 |
+
(in [Colab](https://github.com/deep-diver/segformer-tf-transformers/blob/main/notebooks/TFSegFormer_ONNX.ipynb)).
|
107 |
+
Check out the [repository](https://github.com/deep-diver/segformer-tf-transformers) to find out how to make inference, finetune the model with custom dataset, and further information.
|
108 |
|
109 |
"""
|
110 |
|