lint 적용

This commit is contained in:
Lectom C Han
2024-12-10 15:46:13 +09:00
parent 950f10dce1
commit 55badbc44b
5 changed files with 60 additions and 14 deletions

View File

@@ -2,10 +2,11 @@ import torch
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
class dict_options:
opt = {}
opt["device"] =device
opt["device"] = device
opt["report_host"] = "http://localhost:7890"
def call_default(self):
return self.opt
return self.opt