test_step and test_epoch_end #9914
Replies: 3 comments 4 replies
-
just checked.. it's not averaging.. can you share a reproducible script? and which version are you using? |
Beta Was this translation helpful? Give feedback.
-
Sure, I'll give it a crack. |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for the quick response. Getting a reproducible script may take some time and I've found a workaround that will get me out of hot water for now. When I get time I'll try and put something together, or post up where I went wrong (more likely). I have done some digging and found the averaging occurs in trainer.py:Trainer().call_hook
Not sure if that is helpful as all |
Beta Was this translation helpful? Give feedback.
-
I have my
test_step
andtest_epoch_end
methods.I would expect the
outputs
param oftest_epoch_end
to contain all the results returned bytest_setp
. BUT somewhere betweentest_step
andtest_epoch_end
the lists for each batch returned bytest_step
are averaged.eg: I would expect something like this
Beta Was this translation helpful? Give feedback.
All reactions