From 35a8f7b84869dbd8f411cb0bc3fac238d1404595 Mon Sep 17 00:00:00 2001 From: shinework Date: Sat, 17 Dec 2022 22:33:10 +0100 Subject: [PATCH] fix: update seed extraction function --- src/core/utils/predictions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/utils/predictions.ts b/src/core/utils/predictions.ts index a9b78c2..c9903be 100644 --- a/src/core/utils/predictions.ts +++ b/src/core/utils/predictions.ts @@ -19,7 +19,7 @@ export const getTrainCoefficient = (imagesCount: number) => { export const extractSeedFromLogs = (logsContent: string) => { try { const logLines = logsContent.split("\n"); - const seedLine = logLines[0]; + const seedLine = logLines[1]; const seedValue = seedLine.split(":")[1].trim(); return seedValue ? Number(seedValue) : undefined;