Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit f4435cf

Browse files
authored
Update README.MD
1 parent 4bfffe3 commit f4435cf

File tree

1 file changed

+61
-4
lines changed

1 file changed

+61
-4
lines changed

README.MD

Lines changed: 61 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,66 @@
1+
## Language-driven Semantic Segmentation
2+
3+
## Usage
4+
### Installation
5+
Option 1:
6+
7+
``` pip install -r requirements.txt ```
8+
9+
Option 2:
10+
```
11+
conda install ipython
12+
pip install torch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2
13+
pip install git+https://github.com/zhanghang1989/PyTorch-Encoding/
14+
pip install pytorch-lightning==1.3.5
15+
pip install opencv-python
16+
pip install imageio
17+
pip install ftfy regex tqdm
18+
pip install git+https://github.com/openai/CLIP.git
19+
pip install altair
20+
pip install streamlit
21+
pip install --upgrade protobuf
22+
pip install timm
23+
pip install tensorboardX
24+
pip install matplotlib
25+
pip install test-tube
26+
pip install wandb
27+
```
28+
29+
### Running interactive app
30+
``` streamlit run lseg_app.py ```
31+
32+
### Training
33+
``` bash train.sh ```
34+
35+
### Testing
36+
``` bash test.sh ```
37+
38+
### Model Zoo
39+
<table>
40+
<thead>
41+
<tr style="text-align: right;">
42+
<th></th>
43+
<th>name</th>
44+
<th>url</th>
45+
</tr>
46+
</thead>
47+
<tbody>
48+
<tr>
49+
<th>0</th>
50+
<td>Model for demo</td>
51+
<td><a href="https://drive.google.com/file/d/1ayk6NXURI_vIPlym16f_RG3ffxBWHxvb/view?usp=sharing">download</a></td>
52+
</tr>
53+
</tbody>
54+
</table>
55+
56+
If you find this repo useful, please cite:
57+
```
58+
59+
```
60+
61+
## Acknowledgement
162
Thanks to the code base from:
263
1. DPT: https://github.com/isl-org/DPT
364
2. Pytorch_lightning: https://github.com/PyTorchLightning/pytorch-lightning
465
3. Clip: https://github.com/openai/CLIP
566
4. Pytorch Encoding: https://github.com/zhanghang1989/PyTorch-Encoding
6-
7-
8-
9-
Model for demo: https://drive.google.com/file/d/1ayk6NXURI_vIPlym16f_RG3ffxBWHxvb/view?usp=sharing

0 commit comments

Comments
 (0)