Update README.md
No need to prepend with `$` when in code block. Makes it difficult to copy and paste.
This commit is contained in:
parent
40f5484c1c
commit
d142239cbc
|
|
@ -17,9 +17,9 @@ CLIP (Contrastive Language-Image Pre-Training) is a neural network trained on a
|
|||
First, [install PyTorch 1.7.1](https://pytorch.org/get-started/locally/) and torchvision, as well as small additional dependencies, and then install this repo as a Python package. On a CUDA GPU machine, the following will do the trick:
|
||||
|
||||
```bash
|
||||
$ conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0
|
||||
$ pip install ftfy regex tqdm
|
||||
$ pip install git+https://github.com/openai/CLIP.git
|
||||
conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0
|
||||
pip install ftfy regex tqdm
|
||||
pip install git+https://github.com/openai/CLIP.git
|
||||
```
|
||||
|
||||
Replace `cudatoolkit=11.0` above with the appropriate CUDA version on your machine or `cpuonly` when installing on a machine without a GPU.
|
||||
|
|
|
|||
Loading…
Reference in New Issue