yolov5模型训练过程中显卡使用率查询——记录

yolov5模型训练过程中显卡使用率查询——记录

vidia-smi
(base) F:\>
(base) F:\>nvidia-smi
Thu Jun  9 14:02:16 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0  On |                  N/A |
| N/A   56C    P5    26W /  N/A |   2752MiB / 16384MiB |     30%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
|    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
|    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
|    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
|    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
|    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
|    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
+-----------------------------------------------------------------------------+

(base) F:\>
(base) F:\>

 

(base) F:\>
(base) F:\>
(base) F:\>nvidia-smi
Thu Jun  9 14:04:01 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0  On |                  N/A |
| N/A   59C    P5    30W /  N/A |   2874MiB / 16384MiB |     26%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
|    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
|    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
|    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
|    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
|    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
|    0   N/A  N/A     18512    C+G   ...me\Application\chrome.exe    N/A      |
|    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
+-----------------------------------------------------------------------------+

(base) F:\>
(base) F:\>

 

(base) F:\>
(base) F:\>nvidia-smi
Thu Jun  9 14:04:17 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 497.17       Driver Version: 497.17       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0  On |                  N/A |
| N/A   59C    P3    35W /  N/A |   2872MiB / 16384MiB |     10%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1452    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      8132    C+G   ...2txyewy\TextInputHost.exe    N/A      |
|    0   N/A  N/A      9024    C+G   C:\Windows\explorer.exe         N/A      |
|    0   N/A  N/A      9228    C+G   ...y\ShellExperienceHost.exe    N/A      |
|    0   N/A  N/A      9360      C   ...envs\wind_2021\python.exe    N/A      |
|    0   N/A  N/A     11080    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     13368    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
|    0   N/A  N/A     17644    C+G   ...ll\Common7\IDE\devenv.exe    N/A      |
|    0   N/A  N/A     18512    C+G   ...me\Application\chrome.exe    N/A      |
|    0   N/A  N/A     20416    C+G   ...ge\Application\msedge.exe    N/A      |
+-----------------------------------------------------------------------------+

(base) F:\>
(base) F:\>

 

 

GTX3080,batch size为2,感觉显卡使用率并不高,最多为30%

###################

posted @ 2022-06-09 14:06  西北逍遥  阅读(886)  评论(0编辑  收藏  举报