ACCA225 commited on
Commit
c455131
1 Parent(s): 215c2ed

Update gpu.py

Browse files
Files changed (1) hide show
  1. gpu.py +0 -2
gpu.py CHANGED
@@ -13,8 +13,6 @@ nvidia_smi.nvmlInit()
13
  # 初始化WandB项目
14
  wandb.init(project="GPU-使用率-温度检测")
15
  def monitor_gpu():
16
- start_thread = threading.Thread(target=start)
17
- start_thread.start()
18
  while True:
19
  try:
20
  # 获取 GPU 温度
 
13
  # 初始化WandB项目
14
  wandb.init(project="GPU-使用率-温度检测")
15
  def monitor_gpu():
 
 
16
  while True:
17
  try:
18
  # 获取 GPU 温度