"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0ddc5bf7b97ee832c478ff7f4db22930b8f27d99"
Commit 64abf1b1 authored by Lijiao's avatar Lijiao Committed by liuzhe-lz
Browse files

fix bug of hyper-parameter broken when have not succeeded trial (#1460)

* Update filter description and fix typo

* fix comments

* change node to result

* Add SupportTrainingService.md (#1401)

* fix nnictl schema

* Eject from react-scripts-ts-antd and bump webui dependencies version (#1412)

* Eject from react-scripts-ts-antd

* test whether it can pass CI without ugilfy

* temporarily disable uglify

* Try to fix security alert (#1429)

* fix bug of hyper-parameter broken when have not succeeded trial

* update

* update
parent f7c8ab84
...@@ -237,16 +237,20 @@ class Para extends React.Component<ParaProps, ParaState> { ...@@ -237,16 +237,20 @@ class Para extends React.Component<ParaProps, ParaState> {
show: true show: true
}, },
axisLabel: { axisLabel: {
formatter: function (value: string) { formatter: function (value?: string) {
const length = value.length; if (value !== undefined) {
if (length > 16) { const length = value.length;
const temp = value.split(''); if (length > 16) {
for (let m = 16; m < temp.length; m += 17) { const temp = value.split('');
temp[m] += '\n'; for (let m = 16; m < temp.length; m += 17) {
temp[m] += '\n';
}
return temp.join('');
} else {
return value;
} }
return temp.join('');
} else { } else {
return value; return null;
} }
} }
}, },
......
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