|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
import { ExperimentStatus } from '@/enums'; |
|
|
|
import { ActiveLearnInstanceData } from '@/pages/ActiveLearn/types'; |
|
|
|
import EmptyLog from '@/pages/AutoML/components/ExperimentLog/empty'; |
|
|
|
import LogList from '@/pages/Experiment/components/LogList'; |
|
|
|
import { NodeStatus } from '@/types'; |
|
|
|
import { Tabs } from 'antd'; |
|
|
|
@@ -64,7 +65,7 @@ function ExperimentLog({ instanceInfo, nodes }: ExperimentLogProps) { |
|
|
|
// icon: <KFIcon type="icon-rizhi1" />, |
|
|
|
children: ( |
|
|
|
<div className={styles['experiment-log__tabs__log']}> |
|
|
|
{trainCloneNodeStatus && ( |
|
|
|
{trainCloneNodeStatus ? ( |
|
|
|
<LogList |
|
|
|
instanceName={instanceInfo.argo_ins_name} |
|
|
|
instanceNamespace={instanceInfo.argo_ins_ns} |
|
|
|
@@ -73,6 +74,8 @@ function ExperimentLog({ instanceInfo, nodes }: ExperimentLogProps) { |
|
|
|
instanceNodeStartTime={trainCloneNodeStatus.startedAt} |
|
|
|
instanceNodeStatus={trainCloneNodeStatus.phase as ExperimentStatus} |
|
|
|
></LogList> |
|
|
|
) : ( |
|
|
|
<EmptyLog /> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
), |
|
|
|
@@ -83,7 +86,7 @@ function ExperimentLog({ instanceInfo, nodes }: ExperimentLogProps) { |
|
|
|
// icon: <KFIcon type="icon-rizhi1" />, |
|
|
|
children: ( |
|
|
|
<div className={styles['experiment-log__tabs__log']}> |
|
|
|
{hpoNodeStatus && ( |
|
|
|
{hpoNodeStatus ? ( |
|
|
|
<LogList |
|
|
|
instanceName={instanceInfo.argo_ins_name} |
|
|
|
instanceNamespace={instanceInfo.argo_ins_ns} |
|
|
|
@@ -92,6 +95,8 @@ function ExperimentLog({ instanceInfo, nodes }: ExperimentLogProps) { |
|
|
|
instanceNodeStartTime={hpoNodeStatus.startedAt} |
|
|
|
instanceNodeStatus={hpoNodeStatus.phase as ExperimentStatus} |
|
|
|
></LogList> |
|
|
|
) : ( |
|
|
|
<EmptyLog /> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
), |
|
|
|
|