|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
import InfoGroup from '@/components/InfoGroup'; |
|
|
|
import { AutoMLType } from '@/enums'; |
|
|
|
import TrialFileTree from '@/pages/HyperParameter/components/TrialFileTree'; |
|
|
|
import { getFileReq } from '@/services/file'; |
|
|
|
import { to } from '@/utils/promise'; |
|
|
|
import { Button, Image } from 'antd'; |
|
|
|
@@ -40,7 +41,11 @@ function ExperimentResult({ fileUrl, imageUrl, modelPath, type }: ExperimentResu |
|
|
|
return ( |
|
|
|
<div className={styles['experiment-result']}> |
|
|
|
<InfoGroup title="实验结果" height={420} width="100%"> |
|
|
|
<div className={styles['experiment-result__text']}>{result}</div> |
|
|
|
{type === AutoMLType.Video ? ( |
|
|
|
<TrialFileTree title=""></TrialFileTree> |
|
|
|
) : ( |
|
|
|
<div className={styles['experiment-result__text']}>{result}</div> |
|
|
|
)} |
|
|
|
</InfoGroup> |
|
|
|
{type === AutoMLType.Table && ( |
|
|
|
<InfoGroup title="可视化结果" style={{ margin: '16px 0' }}> |
|
|
|
|