How to pass arrays to callbacks? #9736
-
In a previous version of pytorch lightning I could return a dictionary in the method However, if I try this in 1.4.8, Do you suggest any alternative? Calling
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
At the end, what I do is to place the dictionary as a new member (e.g. |
Beta Was this translation helpful? Give feedback.
At the end, what I do is to place the dictionary as a new member (e.g.
self.extra_data
). Then, from the callback I can access itpl_module.extra_data
. I guess it is not clean, but it works.