Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IMvision12 authored Mar 30, 2023
1 parent 92252da commit 00a2609
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ SegFormer is a Transformer-based framework for semantic segmentation that unifie
<img src="https://github.com/IMvision12/SegFormer-tf/blob/main/images/mit.png" title="graph">
</p>

# Usage:

Clone Github Repo:
```
!git clone https://github.com/IMvision12/SegFormer-tf.git
cd SegFormer-tf
```
Then import model
```
import tensorflow as tf
from models import SegFormer_B3
model = SegFormer_B3(input_shape = (224, 224, 3), num_classes = 19)
print(model.summary(expand_nested=True))
```


# References

Expand Down

0 comments on commit 00a2609

Please sign in to comment.