"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "cdf96cafdfe96bde017581678d8d870a9867d152"
WebUI.rst 8.85 KB
Newer Older
1
2
WebUI
=====
fishyds's avatar
fishyds committed
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Experiments managerment
-----------------------

Click the tab ``All experiments`` on the nav bar.

.. image:: ../../img/webui-img/managerExperimentList/experimentListNav.png
   :target: ../../img/webui-img/managerExperimentList/experimentListNav.png
   :alt: ExperimentList nav



* On the ``All experiments`` page, you can see all the experiments on your machine. 

.. image:: ../../img/webui-img/managerExperimentList/expList.png
   :target: ../../img/webui-img/managerExperimentList/expList.png
   :alt: Experiments list



23
* When you want to see more details about an experiment you could click the trial id, look that:
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

.. image:: ../../img/webui-img/managerExperimentList/toAnotherExp.png
   :target: ../../img/webui-img/managerExperimentList/toAnotherExp.png
   :alt: See this experiment detail



* If has many experiments on the table, you can use the ``filter`` button.

.. image:: ../../img/webui-img/managerExperimentList/expFilter.png
   :target: ../../img/webui-img/managerExperimentList/expFilter.png
   :alt: filter button



39
40
View summary page
-----------------
fishyds's avatar
fishyds committed
41

42
Click the tab ``Overview``.
fishyds's avatar
fishyds committed
43

44

45
* On the overview tab, you can see the experiment information and status and the performance of ``top trials``.
fishyds's avatar
fishyds committed
46

47
48
49

.. image:: ../../img/webui-img/full-oview.png
   :target: ../../img/webui-img/full-oview.png
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
   :alt: overview



* If you want to see experiment search space and config, please click the right button ``Search space`` and ``Config`` (when you hover on this button).

   1. Search space file:


      .. image:: ../../img/webui-img/searchSpace.png
         :target: ../../img/webui-img/searchSpace.png
         :alt: searchSpace



   2. Config file:


      .. image:: ../../img/webui-img/config.png
         :target: ../../img/webui-img/config.png
         :alt: config



* You can view and download ``nni-manager/dispatcher log files`` on here.


.. image:: ../../img/webui-img/review-log.png
   :target: ../../img/webui-img/review-log.png
   :alt: logfile
80
81
82



83
* If your experiment has many trials, you can change the refresh interval here.
v-liguo's avatar
update  
v-liguo committed
84

85
86
87

.. image:: ../../img/webui-img/refresh-interval.png
   :target: ../../img/webui-img/refresh-interval.png
88
   :alt: refresh
89
90
91



v-liguo's avatar
v-liguo committed
92

93
* You can review and download the experiment results(``experiment config``, ``trial message`` and ``intermeidate metrics``) when you click the button ``Experiment summary``.
94
95


96
97
98
.. image:: ../../img/webui-img/summary.png
   :target: ../../img/webui-img/summary.png
   :alt: summary
99

100

101
102

* You can change some experiment configurations such as ``maxExecDuration``, ``maxTrialNum`` and ``trial concurrency`` on here.
103

104
105
106

.. image:: ../../img/webui-img/edit-experiment-param.png
   :target: ../../img/webui-img/edit-experiment-param.png
107
   :alt: editExperimentParams
108
109


110

111
* You can click the icon to see specific error message and ``nni-manager/dispatcher log files`` by clicking ``Learn about`` link.
v-liguo's avatar
v-liguo committed
112

113

114
115
116
.. image:: ../../img/webui-img/experimentError.png
   :target: ../../img/webui-img/experimentError.png
   :alt: experimentError
117
118
119



v-liguo's avatar
v-liguo committed
120

121
* You can click ``About`` to see the version and report any questions.
fishyds's avatar
fishyds committed
122

123
124
125
View job default metric
-----------------------

fishyds's avatar
fishyds committed
126

Lijiaoa's avatar
Lijiaoa committed
127
* Click the tab ``Default metric`` to see the point graph of all trials. Hover to see its specific default metric and search space message.
fishyds's avatar
fishyds committed
128

129
130
131

.. image:: ../../img/webui-img/default-metric.png
   :target: ../../img/webui-img/default-metric.png
132
   :alt: defaultMetricGraph
133
134


v-liguo's avatar
update  
v-liguo committed
135

Lijiaoa's avatar
Lijiaoa committed
136
* Turn on the switch named ``Optimization curve`` to see the experiment's optimization curve.
v-liguo's avatar
v-liguo committed
137

fishyds's avatar
fishyds committed
138

139
140
.. image:: ../../img/webui-img/best-curve.png
   :target: ../../img/webui-img/best-curve.png
141
   :alt: bestCurveGraph
142
143
144
145


View hyper parameter
--------------------
fishyds's avatar
fishyds committed
146

Lijiaoa's avatar
Lijiaoa committed
147
Click the tab ``Hyper-parameter`` to see the parallel graph.
fishyds's avatar
fishyds committed
148

149

Lijiaoa's avatar
Lijiaoa committed
150
151
* You can click the ``add/remove`` button to add or remove axes.
* Drag the axes to swap axes on the chart.
fishyds's avatar
fishyds committed
152
153
* You can select the percentage to see top trials.

154
155
156

.. image:: ../../img/webui-img/hyperPara.png
   :target: ../../img/webui-img/hyperPara.png
157
158
   :alt: hyperParameterGraph

159
160
161
162


View Trial Duration
-------------------
Lijiao's avatar
Lijiao committed
163

164
Click the tab ``Trial Duration`` to see the bar graph.
fishyds's avatar
fishyds committed
165

166
167
168

.. image:: ../../img/webui-img/trial_duration.png
   :target: ../../img/webui-img/trial_duration.png
169
170
   :alt: trialDurationGraph

171
172
173
174


View Trial Intermediate Result Graph
------------------------------------
Lijiao's avatar
Lijiao committed
175

176
Click the tab ``Intermediate Result`` to see the line graph.
Lijiao's avatar
Lijiao committed
177

178
179
180

.. image:: ../../img/webui-img/trials_intermeidate.png
   :target: ../../img/webui-img/trials_intermeidate.png
181
182
   :alt: trialIntermediateGraph

183

v-liguo's avatar
update  
v-liguo committed
184

185
The trial may have many intermediate results in the training process. In order to see the trend of some trials more clearly, we set a filtering function for the intermediate result graph.
v-liguo's avatar
v-liguo committed
186

187
You may find that these trials will get better or worse at an intermediate result. This indicates that it is an important and relevant intermediate result. To take a closer look at the point here, you need to enter its corresponding X-value at #Intermediate. Then input the range of metrics on this intermedia result. In the picture below, we choose the No. 4 intermediate result and set the range of metrics to 0.8-1.
Lijiao's avatar
Lijiao committed
188

189
190
191

.. image:: ../../img/webui-img/filter-intermediate.png
   :target: ../../img/webui-img/filter-intermediate.png
192
193
   :alt: filterIntermediateGraph

194
195
196
197


View trials status
------------------
Lijiao's avatar
Lijiao committed
198

199
Click the tab ``Trials Detail`` to see the status of all trials. Specifically:
fishyds's avatar
fishyds committed
200

201

202
* Trial detail: trial's id, trial's duration, start time, end time, status, accuracy, and search space file.
fishyds's avatar
fishyds committed
203

204
205
206

.. image:: ../../img/webui-img/detail-local.png
   :target: ../../img/webui-img/detail-local.png
207
   :alt: detailLocalImage
208
209
210



Lijiaoa's avatar
Lijiaoa committed
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
* Support searching for a specific trial by its id, status, Trial No. and trial parameters.

1. Trial id: 

.. image:: ../../img/webui-img/detail/searchId.png
   :target: ../../img/webui-img/detail/searchId.png
   :alt: searchTrialId


2. Trial No.: 

.. image:: ../../img/webui-img/detail/searchNo.png
   :target: ../../img/webui-img/detail/searchNo.png
   :alt: searchTrialNo.


3. Trial status:

.. image:: ../../img/webui-img/detail/searchStatus.png
   :target: ../../img/webui-img/detail/searchStatus.png
   :alt: searchStatus

4. Trial parameters:

(1) parameters whose type is choice:

.. image:: ../../img/webui-img/detail/searchParameterChoice.png
   :target: ../../img/webui-img/detail/searchParameterChoice.png
   :alt: searchParameterChoice

(2) parameters whose type is not choice:

.. image:: ../../img/webui-img/detail/searchParameterRange.png
   :target: ../../img/webui-img/detail/searchParameterRange.png
   :alt: searchParameterRange


248
* The button named ``Add column`` can select which column to show on the table. If you run an experiment whose final result is a dict, you can see other keys in the table. You can choose the column ``Intermediate count`` to watch the trial's progress.
249

250
251
252

.. image:: ../../img/webui-img/addColumn.png
   :target: ../../img/webui-img/addColumn.png
253
   :alt: addColumnGraph
254
255
256



257
* If you want to compare some trials, you can select them and then click ``Compare`` to see the results.
258

259
260
261

.. image:: ../../img/webui-img/select-trial.png
   :target: ../../img/webui-img/select-trial.png
262
   :alt: selectTrialGraph
263
264
265
266


.. image:: ../../img/webui-img/compare.png
   :target: ../../img/webui-img/compare.png
267
   :alt: compareTrialsGraph
268
269


Lijiaoa's avatar
Lijiaoa committed
270
* ``Tensorboard`` please refer `doc <Tensorboard.rst>`__.
271
272


273
* You can use the button named ``Copy as python`` to copy the trial's parameters.
274

275
276
277

.. image:: ../../img/webui-img/copyParameter.png
   :target: ../../img/webui-img/copyParameter.png
278
   :alt: copyTrialParameters
279
280
281



Lijiaoa's avatar
Lijiaoa committed
282
283
284
285
286
287
288
289
* You could see trial logs on the tab of ``Log``. There are three buttons ``View trial log``, ``View trial error`` and ``View trial stdout`` on local mode. If you run on the OpenPAI or Kubeflow platform, you could see trial stdout and nfs log.

1. local mode:

.. image:: ../../img/webui-img/detail/log-local.png
   :target: ../../img/webui-img/detail/log-local.png
   :alt: logOnLocal

Lijiao's avatar
Lijiao committed
290

Lijiaoa's avatar
Lijiaoa committed
291
2. OpenPAI, Kubeflow and other mode:
292
293
294

.. image:: ../../img/webui-img/detail-pai.png
   :target: ../../img/webui-img/detail-pai.png
295
   :alt: detailPai
296
297


298
* Intermediate Result Graph: you can see the default metric in this graph by clicking the intermediate button.
fishyds's avatar
fishyds committed
299

300
301
302

.. image:: ../../img/webui-img/intermediate.png
   :target: ../../img/webui-img/intermediate.png
303
   :alt: intermeidateGraph
304
305
306



v-liguo's avatar
update  
v-liguo committed
307
308
* Kill: you can kill a job that status is running.

309
310
311

.. image:: ../../img/webui-img/kill-running.png
   :target: ../../img/webui-img/kill-running.png
312
   :alt: killTrial
313

Lijiaoa's avatar
Lijiaoa committed
314
315
316
317
318
319
320
321
322
323
324
325
326


* Customized trial: you can change this trial parameters and then submit it to the experiment. If you want to rerun a failed trial you could submit the same parameters to the experiment.

.. image:: ../../img/webui-img/detail/customizedTrialButton.png
   :target: ../../img/webui-img/detail/customizedTrialButton.png
   :alt: customizedTrialButton



.. image:: ../../img/webui-img/detail/customizedTrial.png
   :target: ../../img/webui-img/detail/customizedTrial.png
   :alt: customizedTrial