mirror of
https://github.com/RevLayDust/RLD-UVR-Opt.git
synced 2026-11-20 13:07:58 +09:00
fix(core): resolve CPU ONNX inference string device type
This commit is contained in:
1 parent
8e54ebbf73
commit
5d29977faa
1 file changed
+1
-1
+1
-1
@@ -452,7 +452,7 @@ def clear_gpu_cache():
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
warnings.filterwarnings("ignore")
|
||||
cpu = torch.device('cpu')
|
||||
cpu = 'cpu'
|
||||
|
||||
class SeperateAttributes:
|
||||
def __init__(self, model_data: ModelData,
|
||||
|
||||
Reference in new issue
Block a user