Skip to content

Commit

Permalink
using whileTraining callback always when specified
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman authored and bomanimc committed Oct 29, 2020
1 parent 93e6024 commit bcca5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NeuralNetwork/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ class DiyNeuralNetwork {
options.whileTraining = [
this.neuralNetworkVis.trainingVis(),
{
onEpochEnd: null,
onEpochEnd: whileTrainingCb,
},
];
} else {
Expand Down

0 comments on commit bcca5c5

Please sign in to comment.