Skip to content

Commit 4632787

Browse files
committed
2 parents 9fe7583 + 16375e4 commit 4632787

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,17 @@ The `examples` directory contains Jupyter notebook tutorials that demonstrate ho
8585

8686
## FAQ
8787

88-
#### I am getting `attributeerror: module 'cv2.face' has no attribute 'createlbphfacerecognizer'` when running some examples in dev mode
88+
#### I am getting `attributeerror: module 'cv2.face' has no attribute 'createlbphfacerecognizer'` when running some examples in dev mode
8989

9090
This issue usually occurs due to the installation order of the `opencv-contrib-python` module. To resolve it, follow these steps:
9191

9292
```bash
9393
pip uninstall opencv-contrib-python
9494
pip install opencv-contrib-python
9595
```
96+
97+
#### → For Linux users with CUDA support
98+
It is recommended that you install the following CUDA-compatible versions of Torch by running the command below:
99+
```bash
100+
pdm run pip install -U torch==2.1.0+cu121 torchvision==0.16.0+cu121 --index-url https://download.pytorch.org/whl/cu121
101+
```

0 commit comments

Comments
 (0)