|
|
@@ -277,7 +277,7 @@ const JobRow = memo(function JobRow({ j, onCancel }: { j: TrainingJob; onCancel:
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style={{ fontSize: 13, fontFamily: 'monospace' }}>{j.loss?.toFixed(4) ?? '-'}</td>
|
|
|
- <td style={{ fontSize: 12 }}>{j.current_epoch}/{Math.max(j.total_steps > 0 ? Math.ceil(j.total_steps / (j.total_steps / (j.current_epoch || 1)) || 1, 1))} 轮</td>
|
|
|
+ <td style={{ fontSize: 12, color: '#666' }}>Epoch {j.current_epoch}</td>
|
|
|
<td>
|
|
|
{(j.status === 'training' || j.status === 'pending' || j.status === 'queued' || j.status === 'preprocessing') && (
|
|
|
<button onClick={() => onCancel(j.id)} style={{ padding: '2px 8px', color: '#e94560', border: '1px solid #e94560', borderRadius: 4, background: 'transparent', cursor: 'pointer', fontSize: 12 }}>取消</button>
|