From 04596327c4ec2d5338089e5000abdcad0250bb99 Mon Sep 17 00:00:00 2001 From: Alex Black Date: Thu, 5 Sep 2019 18:30:51 +1000 Subject: [PATCH] Ensure UI overview page is refreshed when loading saved net data (#243) Signed-off-by: AlexDBlack --- .../resources/deeplearning4jUiAssets/js/train/overview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-play/src/main/resources/deeplearning4jUiAssets/js/train/overview.js b/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-play/src/main/resources/deeplearning4jUiAssets/js/train/overview.js index 107488028..05c1ccace 100644 --- a/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-play/src/main/resources/deeplearning4jUiAssets/js/train/overview.js +++ b/deeplearning4j/deeplearning4j-ui-parent/deeplearning4j-play/src/main/resources/deeplearning4jUiAssets/js/train/overview.js @@ -21,16 +21,16 @@ function selectStdevChart(fieldName) { $("#stdevUpdates").attr("class", "active"); } - renderOverviewPage(false); + renderOverviewPage(true); } /* ---------- Render page ---------- */ var lastUpdateTime = -1; var lastUpdateSession = ""; -function renderOverviewPage(firstLoad) { +function renderOverviewPage(forceupdate) { updateSessionWorkerSelect(); - if(firstLoad || !lastUpdateSession || lastUpdateSession == "" || lastUpdateSession != currSession){ + if(forceupdate || !lastUpdateSession || lastUpdateSession == "" || lastUpdateSession != currSession){ executeOverviewUpdate(); } else { //Check last update time first - see if data has actually changed...