From 16375e45df8c47bece0d0059654dafa5391458c4 Mon Sep 17 00:00:00 2001 From: Rabah Khalek Date: Mon, 19 Aug 2024 14:34:16 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b4cf6d..1c91efd 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ The `examples` directory contains Jupyter notebook tutorials that demonstrate ho ## FAQ -#### I am getting `attributeerror: module 'cv2.face' has no attribute 'createlbphfacerecognizer'` when running some examples in dev mode +#### → I am getting `attributeerror: module 'cv2.face' has no attribute 'createlbphfacerecognizer'` when running some examples in dev mode This issue usually occurs due to the installation order of the `opencv-contrib-python` module. To resolve it, follow these steps: @@ -93,3 +93,9 @@ This issue usually occurs due to the installation order of the `opencv-contrib-p pip uninstall opencv-contrib-python pip install opencv-contrib-python ``` + +#### → For Linux users with CUDA support +It is recommended that you install the following CUDA-compatible versions of Torch by running the command below: +```bash +pdm run pip install -U torch==2.1.0+cu121 torchvision==0.16.0+cu121 --index-url https://download.pytorch.org/whl/cu121 +```