From 6f97826a47376114a78cc600a663c5cf52364e16 Mon Sep 17 00:00:00 2001 From: CatBraaain <84499939+CatBraaain@users.noreply.github.com> Date: Thu, 10 Apr 2025 21:21:19 +0900 Subject: [PATCH] fix: typo in error message for missing pytorch --- deepface/models/spoofing/FasNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/models/spoofing/FasNet.py b/deepface/models/spoofing/FasNet.py index 9b6457d..631333e 100644 --- a/deepface/models/spoofing/FasNet.py +++ b/deepface/models/spoofing/FasNet.py @@ -29,7 +29,7 @@ class Fasnet: import torch except Exception as err: raise ValueError( - "You must install torch with `pip install pytorch` command to use face anti spoofing module" + "You must install torch with `pip install torch` command to use face anti spoofing module" ) from err device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")