Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring training progress #154

Open
SULVAL opened this issue Apr 24, 2024 · 1 comment
Open

Monitoring training progress #154

SULVAL opened this issue Apr 24, 2024 · 1 comment

Comments

@SULVAL
Copy link

SULVAL commented Apr 24, 2024

Hi! Is it possible to monitor "epoch-by-epoch" the training progress of a given algorithm (neural nets, particularly)?

Thanks a lot in advance

@mdabros
Copy link
Owner

mdabros commented Apr 26, 2024

Hi @SULVAL,

Yes, most of the learners write some information via Trace.WriteLine. It is a bit simplistic. You can get the information written to a source by adding to trace listeners like this:

// Trace to console
Trace.Listeners.Add(new ConsoleTraceListener()));

// Trace to file.
var streamWriter = new StreamWriter("TrainingLog.txt");
Trace.Listeners.Add(new TextWriterTraceListener(streamWriter)));

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants