-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Understanding the terminal output during training #28
Comments
Hey;
So this happens as we do "one epoch" for each validation dataset at the end of each training epoch. This code also computes the validation metrics on the training set as well to make it easier to see if its overfitting.
This is why you're seeing different times for completion as well, when its referring to the shorter times its how long it takes for an "epoch" on the validation sets.
These other logging statements come from within |
Thank you for the explanation! So in each epoch the first row of metrics refers to the training dataset and the second to the validation dataset? You could add that in the output to make it more understandable. Isn't it unusual that the result on the validation dataset is better than on the training dataset?
Can I suppress these outputs somehow, during longer trainings they just clutter up the terminal window? |
It definitely should be; it'll be a fairly simple change here if you want to make a PR?
Yes; they can be suppressed. Currently this library is using the default logger from the python standard logging library. We should specify a separate logger for this library.
|
Here it is: #29
Ah, now it makes sense! :-) |
Can anyone help me understand the terminal output during training? I followed these steps: https://github.com/WillBrennan/SemanticSegmentation#training-new-projects I only adjusted minor things.
My output looks like this (with some truncation, line breaks and indentation on my part for clarity):
Here's what I'd like to know about it:
SemanticSegmentation/semantic_segmentation/engines.py
Line 55 in 014ea13
Possibly part of my questions come from the fact that I had only used Tensorflow and not Torch before. I thank you in advance if someone can make me understand at least part of these oddities.
The text was updated successfully, but these errors were encountered: