Skip to content

Commit 6b429c5

Browse files
author
Viktor
committed
set training steps absolved status to zero, when loading a new network
1 parent 50ed389 commit 6b429c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Gui.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ main = do
227227
setLabel result_label "--"
228228
-- update pgmNames
229229
updatePgmNames tdataPathIO pgmNamesIO
230+
-- update statusbar
231+
modifyIORef trainedCountIO (\_ -> 0)
232+
updateStatusBar statusbar trainedCountIO
230233

231234
-- enable network configs on new tdata
232235
enableNetConfigs hiddenNeurons_spin biasInput_check biasHidden_check momentum_spin learningRate_spin

0 commit comments

Comments
 (0)