-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Structured results (train loop only. val loop separate PR) (PR 2/5) #2615
Merged
Merged
Changes from 129 commits
Commits
Show all changes
174 commits
Select commit
Hold shift + click to select a range
4d2b081
r
williamFalcon 4513eb3
r
williamFalcon 5cc01ff
r
williamFalcon c747f80
patched optimizer closure with sr
williamFalcon ed9b4f8
patched optimizer closure with sr
williamFalcon 3f98d18
patched optimizer closure with sr
williamFalcon 8352a56
added train step structured result
williamFalcon 7d453d4
added train step structured result
williamFalcon 23403ce
added train step structured result
williamFalcon 9bc77ac
added train step structured result
williamFalcon 9cdaf8f
added train step structured result
williamFalcon 9309b9e
added train step structured result
williamFalcon 8241130
added train step structured result
williamFalcon ceeedc2
added train step structured result
williamFalcon 6bbe6d8
added train step structured result
williamFalcon c56ea84
added train step structured result
williamFalcon 9df0e16
added train step structured result
williamFalcon 331fe55
added train step structured result
williamFalcon 0c8afc0
added train step structured result
williamFalcon 7f8d72d
added train step structured result
williamFalcon 8254f8e
added train step structured result
williamFalcon 7c8a32e
added train step structured result
williamFalcon 6927313
added train step structured result
williamFalcon 1c78a5b
added train step structured result
williamFalcon 5c67538
added train step structured result
williamFalcon 870259c
added train step structured result
williamFalcon 4a36ea5
added autoreduce for train step
williamFalcon 4837cf4
added auto reduce on train
williamFalcon 6378985
added auto reduce on train
williamFalcon f7f654a
added auto reduce on train
williamFalcon 73fd54b
added auto reduce on train
williamFalcon b3f38c2
added auto reduce on train
williamFalcon 6e64ba9
added auto reduce on train
williamFalcon 1b24903
added hooks
williamFalcon eae4d6b
added hooks
williamFalcon 6102c8a
added hooks
williamFalcon ccd08ed
added hooks
williamFalcon 804e9c8
added hooks
williamFalcon 2736c70
finished tests for structured results on train epoch
williamFalcon e09bcfc
finished tests for structured results on train epoch
williamFalcon 55eb02c
finished tests for structured results on train epoch
williamFalcon b13d62b
finished tests for structured results on train epoch
williamFalcon 7006138
finished tests for structured results on train epoch
williamFalcon 715a634
finished tests for structured results on train epoch
williamFalcon c26a92e
finished tests for structured results on train epoch
williamFalcon e59b04c
finished tests for structured results on train epoch
williamFalcon a90a719
finished tests for structured results on train epoch
williamFalcon 43b3724
finished tests for structured results on train epoch
williamFalcon a45b808
finished tests for structured results on train epoch
williamFalcon c50c74e
finished tests for structured results on train epoch
williamFalcon 758b5d8
finished tests for structured results on train epoch
williamFalcon 9812318
finished tests for structured results on train epoch
williamFalcon c1af222
finished tests for structured results on train epoch
williamFalcon 07c4f42
finished tests for structured results on train epoch
williamFalcon 28f2c40
finished tests for structured results on train epoch
williamFalcon 15c8f55
finished tests for structured results on train epoch
williamFalcon f8209b2
finished tests for structured results on train epoch
williamFalcon 882437e
finished tests for structured results on train epoch
williamFalcon 874f4a2
finished tests for structured results on train epoch
williamFalcon 968b17e
finished tests for structured results on train epoch
williamFalcon 176b884
finished tests for structured results on train epoch
williamFalcon 7b4be6a
finished tests for structured results on train epoch
williamFalcon 92c0323
finished tests for structured results on train epoch
williamFalcon 8bb3b19
finished tests for structured results on train epoch
williamFalcon 1c69301
finished tests for structured results on train epoch
williamFalcon 4a6f193
finished tests for structured results on train epoch
williamFalcon 44d9a0a
finished tests for structured results on train epoch
williamFalcon 26c8d3c
finished tests for structured results on train epoch
williamFalcon f71c797
finished tests for structured results on train epoch
williamFalcon 6bce9d0
finished tests for structured results on train epoch
williamFalcon e3226f3
finished tests for structured results on train epoch
williamFalcon 18630d2
finished tests for structured results on train epoch
williamFalcon 4a9659c
finished tests for structured results on train epoch
williamFalcon 90939a8
finished tests for structured results on train epoch
williamFalcon 33cd21b
finished tests for structured results on train epoch
williamFalcon 8d32a7a
finished tests for structured results on train epoch
williamFalcon f4a0a6f
finished tests for structured results on train epoch
williamFalcon 78d335d
finished tests for structured results on train epoch
williamFalcon 0faf912
finished tests for structured results on train epoch
williamFalcon e0ce316
finished tests for structured results on train epoch
williamFalcon 947dc70
finished tests for structured results on train epoch
williamFalcon 1bd96c1
finished tests for structured results on train epoch
williamFalcon 886a094
finished tests for structured results on train epoch
williamFalcon e891e4b
finished tests for structured results on train epoch
williamFalcon 9870739
finished tests for structured results on train epoch
williamFalcon 50ddc5a
finished tests for structured results on train epoch
williamFalcon bb9dce7
finished tests for structured results on train epoch
williamFalcon df2b590
finished tests for structured results on train epoch
williamFalcon 68ab130
finished tests for structured results on train epoch
williamFalcon d846ff3
finished tests for structured results on train epoch
williamFalcon e97722a
finished tests for structured results on train epoch
williamFalcon 36319cd
finished tests for structured results on train epoch
williamFalcon 06ecec5
finished tests for structured results on train epoch
williamFalcon 3a6c132
finished tests for structured results on train epoch
williamFalcon 98e11e3
finished tests for structured results on train epoch
williamFalcon 7782abe
finished tests for structured results on train epoch
williamFalcon 2d4eccf
finished tests for structured results on train epoch
williamFalcon 3bbd01f
finished tests for structured results on train epoch
williamFalcon 77c28b0
finished tests for structured results on train epoch
williamFalcon 0f18073
finished tests for structured results on train epoch
williamFalcon a0dd29b
finished tests for structured results on train epoch
williamFalcon 36c10b5
finished tests for structured results on train epoch
williamFalcon e113e2c
finished tests for structured results on train epoch
williamFalcon f7d2841
finished tests for structured results on train epoch
williamFalcon 94ea112
finished tests for structured results on train epoch
williamFalcon f5b4259
finished tests for structured results on train epoch
williamFalcon b0f6590
finished tests for structured results on train epoch
williamFalcon 5e1882b
finished tests for structured results on train epoch
williamFalcon 96f9689
finished tests for structured results on train epoch
williamFalcon 5cd90fe
finished tests for structured results on train epoch
williamFalcon 4ebd847
finished tests for structured results on train epoch
williamFalcon 4c3b03a
finished tests for structured results on train epoch
williamFalcon 7886bcb
finished tests for structured results on train epoch
williamFalcon 3c2f53c
finished tests for structured results on train epoch
williamFalcon 0f3807f
finished tests for structured results on train epoch
williamFalcon 14db086
finished tests for structured results on train epoch
williamFalcon 7452cd5
finished tests for structured results on train epoch
williamFalcon 21ffdf2
finished tests for structured results on train epoch
williamFalcon ee31889
finished tests for structured results on train epoch
williamFalcon 5942821
finished tests for structured results on train epoch
williamFalcon 2692014
finished tests for structured results on train epoch
williamFalcon 042bcb6
finished tests for structured results on train epoch
williamFalcon 8a449e6
finished tests for structured results on train epoch
williamFalcon e7d1585
cache
Borda 1d34947
finished tests for structured results on train epoch
williamFalcon bfde914
finished tests for structured results on train epoch
williamFalcon 5397ca6
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon 2e7b68d
finished tests for structured results on train epoch
williamFalcon 71712d8
finished tests for structured results on train epoch
williamFalcon d93845e
finished tests for structured results on train epoch
williamFalcon 1ec8992
Update pytorch_lightning/callbacks/early_stopping.py
williamFalcon e272a59
Update pytorch_lightning/callbacks/early_stopping.py
williamFalcon 6c8f2e5
Update pytorch_lightning/callbacks/early_stopping.py
williamFalcon 4ce032f
Update pytorch_lightning/callbacks/model_checkpoint.py
Borda b7ea0cc
Update pytorch_lightning/core/step_result.py
Borda 3e7af00
finished tests for structured results on train epoch
williamFalcon 5323d59
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon b4ad5c2
finished tests for structured results on train epoch
williamFalcon a2c2401
Apply suggestions from code review
Borda 7102cef
Apply suggestions from code review
Borda 12ef3b0
Apply suggestions from code review
Borda 2116a61
simple
Borda fd5445d
finished tests for structured results on train epoch
williamFalcon 6a63fe0
simple
Borda d650daf
simple
Borda d5db845
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon 6abb73a
revert
Borda 54862cc
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon 6333f21
finished tests for structured results on train epoch
williamFalcon f8591b4
finished tests for structured results on train epoch
williamFalcon ff088ca
Update tests/base/deterministic_model.py
williamFalcon 595fd4b
finished tests for structured results on train epoch
williamFalcon fdf0e43
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon 74cd049
docstring typos
awaelchli fe91a2b
finished tests for structured results on train epoch
williamFalcon 42b3724
Merge branch 'st' of https://github.com/PyTorchLightning/pytorch-ligh…
williamFalcon 7dfda42
finished tests for structured results on train epoch
williamFalcon 4f48912
finished tests for structured results on train epoch
williamFalcon de5cbb9
finished tests for structured results on train epoch
williamFalcon 6ccf0cc
finished tests for structured results on train epoch
williamFalcon e671a79
finished tests for structured results on train epoch
williamFalcon f3ee6c2
finished tests for structured results on train epoch
williamFalcon be99f0a
finished tests for structured results on train epoch
williamFalcon d767547
finished tests for structured results on train epoch
williamFalcon de16f8a
finished tests for structured results on train epoch
williamFalcon 072cb09
finished tests for structured results on train epoch
williamFalcon ea26761
finished tests for structured results on train epoch
williamFalcon f74e3b0
finished tests for structured results on train epoch
williamFalcon cab63d4
finished tests for structured results on train epoch
williamFalcon db26566
finished tests for structured results on train epoch
williamFalcon a1010dd
finished tests for structured results on train epoch
williamFalcon 30e17aa
finished tests for structured results on train epoch
williamFalcon a7f0544
Update pytorch_lightning/core/step_result.py
williamFalcon 704d201
Update pytorch_lightning/overrides/data_parallel.py
williamFalcon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,6 +115,42 @@ def on_epoch_end(self) -> None: | |
""" | ||
# do something when the epoch ends | ||
|
||
def on_train_epoch_start(self) -> None: | ||
Borda marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
Called in the training loop at the very beginning of the epoch. | ||
""" | ||
# do something when the epoch starts | ||
|
||
def on_train_epoch_end(self) -> None: | ||
""" | ||
Called in the training loop at the very end of the epoch. | ||
""" | ||
# do something when the epoch ends | ||
|
||
def on_val_epoch_start(self) -> None: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment here I had about callbacks called "on_validation..." |
||
""" | ||
Called in the training loop at the very beginning of the epoch. | ||
Borda marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# do something when the epoch starts | ||
|
||
def on_val_epoch_end(self) -> None: | ||
""" | ||
Called in the training loop at the very end of the epoch. | ||
awaelchli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# do something when the epoch ends | ||
|
||
def on_test_epoch_start(self) -> None: | ||
""" | ||
Called in the training loop at the very beginning of the epoch. | ||
awaelchli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# do something when the epoch starts | ||
|
||
def on_test_epoch_end(self) -> None: | ||
""" | ||
Called in the training loop at the very end of the epoch. | ||
awaelchli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
# do something when the epoch ends | ||
|
||
def on_pre_performance_check(self) -> None: | ||
""" | ||
Called at the very beginning of the validation loop. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we named it "validation" in the callbacks below. It would be great if we could make it consistent.