优化训练过程

This commit is contained in:
2025-03-20 16:41:51 +08:00
parent 358bb40a2a
commit bba39adcfc
7 changed files with 16 additions and 12 deletions

5
toch_test.py Normal file
View File

@ -0,0 +1,5 @@
import torch
is_gpu = torch.cuda.is_available()
print(str(is_gpu))