diff --git a/frontend/src/pages/Train.tsx b/frontend/src/pages/Train.tsx index 9b174ac..e6caf4f 100644 --- a/frontend/src/pages/Train.tsx +++ b/frontend/src/pages/Train.tsx @@ -52,7 +52,7 @@ ChartJS.register( ); const parseLossData = (data: string) => { - const regex = /Epoch (\d+):\s+(\d+%)\|[\s\S]*\| (\d+)\/(\d+) \[(\d+:\d+)<(\d+:\d+),\s+([\S]*), loss=(\S+),[\s\S]*\]/g; + const regex = /Epoch (\d+):\s+(\d+%)\|[\s\S]*\| (\d+)\/(\d+) \[(\S+)<(\S+),\s+(\S+), loss=(\S+),[\s\S]*\]/g; const matches = Array.from(data.matchAll(regex)); if (matches.length === 0) return false;