File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,19 @@ python3 eval_multipro.py --gpus GPUS --cfg config/ade20k-resnet50dilated-ppm_dee
228228python3 eval_multipro.py --gpus GPUS --cfg config/ade20k-resnet101-upernet.yaml
229229```
230230
231+ ## Integration with other projects
232+ This library can be installed via ` pip ` to easily integrate with another codebase
233+ ``` bash
234+ pip install git+https://github.com/CSAILVision/semantic-segmentation-pytorch.git@master
235+ ```
236+
237+ Now this library can easily be consumed programmatically. For example
238+ ``` python
239+ from mit_semseg.config import cfg
240+ from mit_semseg.dataset import TestDataset
241+ from mit_semseg.models import ModelBuilder, SegmentationModule
242+ ```
243+
231244## Reference
232245
233246If you find the code or pre-trained models useful, please cite the following papers:
Original file line number Diff line number Diff line change 1+ """
2+ MIT CSAIL Semantic Segmentation
3+ """
4+
5+ __version__ = '1.0.0'
Original file line number Diff line number Diff line change 2323 'torchvision' ,
2424 'opencv-python' ,
2525 'yacs' ,
26+ 'scipy' ,
2627 'tqdm'
2728 ]
2829)
You can’t perform that action at this time.
0 commit comments