Where is EarlyStopping searching for metrics? #5822
-
Where is EarlyStopping search for metrics?Code
if I attempt to early stop according to
The metrics mentioned (loss,train_loss) are from I guess I'm doing something wrong, could anyone point me in the correct direction?
Update #1: the same code works with version Update #2:
From what I see, before this line is executed, |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
If I understand correctly it is a known issue. Please look at #490. #492 fixes this in master. |
Beta Was this translation helpful? Give feedback.
-
Hi @kuynzereb, thanks! this was indeed the issue.
|
Beta Was this translation helpful? Give feedback.
-
Well, I don't really know either, but it looks like you are right :) |
Beta Was this translation helpful? Give feedback.
-
pip install git+https://github.com/williamFalcon/pytorch-lightning.git@master --upgrade |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I tried installing with both William's and Borda's methods but I still get an error that it can't find the
and as I understand that should be enough. Any ideas what might be wrong? |
Beta Was this translation helpful? Give feedback.
-
You should also define |
Beta Was this translation helpful? Give feedback.
-
That worked, thank you! I must say that from the documentation it is not clear to me that it is necessary to define
As for as I know I am not doing anything progress-bar related and I should not have to define validation end. What is it that I have misunderstood? |
Beta Was this translation helpful? Give feedback.
If I understand correctly it is a known issue. Please look at #490. #492 fixes this in master.