Commit 56b46003 authored by Lijiao's avatar Lijiao Committed by chicm-ms
Browse files

Fix bugs and update webui doc (#397)

parent b2b4f458
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
Click the tab "Overview". Click the tab "Overview".
* See the experiment trial profile and search space message. * See the experiment trial profile and search space message.
* Support to download the experiment message.
![](./img/over1.png) ![](./img/over1.png)
* See good performance trials. * See good performance trials.
...@@ -41,7 +42,7 @@ Click the tab "Trials Detail" to see the status of the all trials. Specifically: ...@@ -41,7 +42,7 @@ Click the tab "Trials Detail" to see the status of the all trials. Specifically:
![](./img/table_openrow.png) ![](./img/table_openrow.png)
* Kill: you can kill a job that status is running. * Kill: you can kill a job that status is running.
* Tensor: you can see a job in the tensorflow graph, it will link to the Tensorboard page.
* Intermediate Result Graph. * Intermediate Result Graph.
* Support to search for a specific trial.
![](./img/intermediate.png) ![](./img/intermediate.png)
\ No newline at end of file
docs/img/accuracy.png

44.2 KB | W: | H:

docs/img/accuracy.png

31.8 KB | W: | H:

docs/img/accuracy.png
docs/img/accuracy.png
docs/img/accuracy.png
docs/img/accuracy.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/hyperPara.png

199 KB | W: | H:

docs/img/hyperPara.png

85.1 KB | W: | H:

docs/img/hyperPara.png
docs/img/hyperPara.png
docs/img/hyperPara.png
docs/img/hyperPara.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/over1.png

55.1 KB | W: | H:

docs/img/over1.png

54.8 KB | W: | H:

docs/img/over1.png
docs/img/over1.png
docs/img/over1.png
docs/img/over1.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/over2.png

32.3 KB | W: | H:

docs/img/over2.png

28.1 KB | W: | H:

docs/img/over2.png
docs/img/over2.png
docs/img/over2.png
docs/img/over2.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/table_openrow.png

45.4 KB | W: | H:

docs/img/table_openrow.png

41.9 KB | W: | H:

docs/img/table_openrow.png
docs/img/table_openrow.png
docs/img/table_openrow.png
docs/img/table_openrow.png
  • 2-up
  • Swipe
  • Onion skin
docs/img/trial_duration.png

52.1 KB | W: | H:

docs/img/trial_duration.png

32.2 KB | W: | H:

docs/img/trial_duration.png
docs/img/trial_duration.png
docs/img/trial_duration.png
docs/img/trial_duration.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -128,14 +128,6 @@ class Overview extends React.Component<{}, OverviewState> { ...@@ -128,14 +128,6 @@ class Overview extends React.Component<{}, OverviewState> {
const key = searchSpace[item]._type; const key = searchSpace[item]._type;
let value = searchSpace[item]._value; let value = searchSpace[item]._value;
switch (key) { switch (key) {
case 'loguniform':
case 'qloguniform':
const a = Math.pow(Math.E, value[0]);
const b = Math.pow(Math.E, value[1]);
value = [a, b];
searchSpace[item]._value = value;
break;
case 'quniform': case 'quniform':
case 'qnormal': case 'qnormal':
case 'qlognormal': case 'qlognormal':
...@@ -345,7 +337,7 @@ class Overview extends React.Component<{}, OverviewState> { ...@@ -345,7 +337,7 @@ class Overview extends React.Component<{}, OverviewState> {
const { tableData } = this.state; const { tableData } = this.state;
const sourcePoint = JSON.parse(JSON.stringify(tableData)); const sourcePoint = JSON.parse(JSON.stringify(tableData));
sourcePoint.sort((a: TableObj, b: TableObj) => { sourcePoint.sort((a: TableObj, b: TableObj) => {
if (a.sequenceId && b.sequenceId) { if (a.sequenceId !== undefined && b.sequenceId !== undefined) {
return a.sequenceId - b.sequenceId; return a.sequenceId - b.sequenceId;
} else { } else {
return NaN; return NaN;
......
...@@ -6,7 +6,8 @@ export const trialJobStatus = [ ...@@ -6,7 +6,8 @@ export const trialJobStatus = [
'SUCCEEDED', 'SUCCEEDED',
'FAILED', 'FAILED',
'USER_CANCELED', 'USER_CANCELED',
'SYS_CANCELED' 'SYS_CANCELED',
'EARLY_STOPPED'
]; ];
export const CONTROLTYPE = [ export const CONTROLTYPE = [
'SEARCH_SPACE', 'SEARCH_SPACE',
......
...@@ -19,3 +19,6 @@ ...@@ -19,3 +19,6 @@
.WAITING{ .WAITING{
color: #008B8B; color: #008B8B;
} }
.EARLY_STOPPED{
color: #FFA500;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment