You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the identification of the problem is here :
in FitInternal() function is writed
CallbackList callbackList2 = new CallbackList(new CallbackParams
{
Model = this,
Verbose = verbose,
Epochs = epochs,
Steps = data_handler.Inferredsteps
});
In this case, it correspond to 2 callbacks (why forcing them ? ) :
public CallbackList(CallbackParams parameters)
{
callbacks.Add(new History(parameters));
callbacks.Add(new ProgbarLogger(parameters));
}
and when we see the History ICallback :
public class History : ICallback
{ ...
public void on_epoch_end(int epoch, Dictionary<string, float> epoch_logs)
{
epochs.Add(epoch);
foreach (KeyValuePair<string, float> epoch_log in epoch_logs)
{
if (!history.ContainsKey(epoch_log.Key))
{
history[epoch_log.Key] = new List<float>();
}
history[epoch_log.Key].Add(epoch_log.Value);
}
}
}
Description
Dear community,
During the fit of a model, logs are shown even if verbose == 0. For exemple the code below :
Print this inside the console :
It's a problem to me, because it flood the console (even if verbose is set to 0 or below).
How can we fixe it ?
Reproduction Steps
Any exemple of a cnn run with verbose set to 0.
Known Workarounds
No response
Configuration and Other Information
No response
The text was updated successfully, but these errors were encountered: