1
0
mirror of synced 2024-11-24 07:30:16 +01:00

Update infer-web.py

This commit is contained in:
RVC-Boss 2023-05-21 03:10:20 +00:00 committed by GitHub
parent 19cc9062b0
commit 28948f8961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ from i18n import I18nAuto
import ffmpeg import ffmpeg
i18n = I18nAuto() i18n = I18nAuto()
i18n.print()
# 判断是否有能用来训练和加速推理的N卡 # 判断是否有能用来训练和加速推理的N卡
ngpu = torch.cuda.device_count() ngpu = torch.cuda.device_count()
gpu_infos = [] gpu_infos = []