SoftwareGift / FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019

Code for 3rd Place Solution in Face Anti-spoofing Attack Detection Challenge @ CVPR2019,model only 0.35M!!! 1.88ms(CPU)
Other
928 stars 282 forks source link

raise RuntimeError('Attempting to deserialize object on a CUDA ' RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU. #16

Closed zcl912 closed 5 years ago

zcl912 commented 5 years ago

在运行代码时遇到这个问题,请问该怎么解决呢?其中:

import torch print(torch.cuda.is_available()) False

显卡驱动不匹配的原因吗

zcl912 commented 5 years ago

在运行代码时遇到这个问题,请问该怎么解决呢?其中:

import torch print(torch.cuda.is_available()) False

显卡驱动不匹配的原因吗

已解決

Cndbk commented 4 years ago

在运行代码时遇到这个问题,请问该怎么解决呢其中?

进口火炬 打印(torch.cuda.is_available()) 假

显卡驱动不匹配的原因吗

已解决

求解决办法