Add more Events for MONAI workflow engines#1474
Add more Events for MONAI workflow engines#1474Nic-Ma merged 10 commits intoProject-MONAI:masterfrom
Conversation
merge master
Signed-off-by: Nic Ma <[email protected]>
a80eca7 to
20010f0
Compare
|
/black |
0d4f188 to
cac75ed
Compare
|
/black |
wyli
left a comment
There was a problem hiding this comment.
thanks this needs more discussions and tests
Signed-off-by: Nic Ma <[email protected]>
70c24c0 to
25623cb
Compare
|
/black |
Signed-off-by: monai-bot <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
Hi @wyli and @yanchengnv , Thanks for your reminder, I added test cases in the integration tests. Thanks. |
|
And BTW, this PR refers to ignite example: https://github.com/pytorch/ignite/blob/master/ignite/engine/events.py#L146 |
Signed-off-by: monai-bot <[email protected]>
|
@Nic-Ma thanks for mentioning ! Just FYI, currently we have undocumented requirements for custom events if using filters with them: pytorch/ignite#1555 |
|
Hi @vfdev-5 , Thanks for your tips, I didn't add Thanks. |
|
Yes, correct, in this case you do not need |
wyli
left a comment
There was a problem hiding this comment.
thanks please see some comments inline, we'll discuss this next monday
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
Hi @wyli , Thanks for your review. Thanks. |
Signed-off-by: monai-bot <[email protected]>
wyli
left a comment
There was a problem hiding this comment.
thanks, this PR adds a few events to each iteration. just wanted to note that state.output is used to cache information across those events. not sure if this is the best way of using state.output but seems like a viable workaround according to @Nic-Ma
|
Thanks @wyli , And @vfdev-5 , as we discussed in the above thread, I think Thanks. |
Description
This PR registered more Events to ignite engine for MONAI workflow trainer and evaluator.
Users can write more powerful handlers based on it.
If user has very special
iterationcomputation, they can still useiteration_update()callback.Status
Ready
Types of changes
./runtests.sh --codeformat --coverage../runtests.sh --quick.make htmlcommand in thedocs/folder.