Spaces:
Runtime error
Runtime error
Update app.py
#4
by
sayakpaul
HF staff
- opened
app.py
CHANGED
@@ -239,7 +239,7 @@ def sepia(input_img):
|
|
239 |
title = "SegFormer(ADE20k) in TensorFlow"
|
240 |
description = """
|
241 |
|
242 |
-
This is demo TensorFlow SegFormer from π€ `transformers` official package. The pre-trained model
|
243 |
|
244 |
"""
|
245 |
|
|
|
239 |
title = "SegFormer(ADE20k) in TensorFlow"
|
240 |
description = """
|
241 |
|
242 |
+
This is demo TensorFlow SegFormer from π€ `transformers` official package. 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**. The average latency of an inference is **21** and **8** seconds for TensorFlow and ONNX converted models respectively (in [Colab](https://github.com/deep-diver/segformer-tf-transformers/blob/main/notebooks/TFSegFormer_ONNX.ipynb)). 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.
|
243 |
|
244 |
"""
|
245 |
|