mirror of
https://github.com/serengil/deepface.git
synced 2025-06-04 02:20:06 +00:00
fix: typo in error message for missing pytorch
This commit is contained in:
parent
e06325aefb
commit
6f97826a47
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user