Spaces:
Runtime error
Runtime error
File size: 752 Bytes
f8f62f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
## Installation
### Requirements
- Linux or macOS with Python ≥ 3.6
- PyTorch ≥ 1.7 and [torchvision](https://github.com/pytorch/vision/) that matches the PyTorch installation.
Install them together at [pytorch.org](https://pytorch.org) to make sure of this. Note, please check
PyTorch version matches that is required by Detectron2.
- Detectron2: follow [Detectron2 installation instructions](https://detectron2.readthedocs.io/tutorials/install.html).
- OpenCV is optional but needed by demo and visualization
- `pip install -r requirements.txt`
An example of installation is shown below:
```
git clone https://github.com/~~~/CAT-Seg.git
cd CAT-Seg
conda create -n catseg python=3.8
conda activate catseg
pip install -r requirements.txt
``` |