mirror of
https://github.com/taisuii/ClassificationCaptchaOcr.git
synced 2026-05-12 01:55:04 +08:00
2024/9/7 更新代码
This commit is contained in:
3
development/test/test.py
Normal file
3
development/test/test.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import torch
|
||||
print(torch.version.cuda) # 检查 PyTorch 是否包含 CUDA 支持
|
||||
print(torch.cuda.is_available()) # 检查 CUDA 是否可用
|
||||
Reference in New Issue
Block a user