Closed KDr2 closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +0.38
:tada:
Comparison is base (
d9b2e48
) 47.76% compared to head (cee6b02
) 48.14%.:exclamation: Current head cee6b02 differs from pull request most recent head 2e9de56. Consider uploading reports for the commit 2e9de56 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
TensorBoardLogger.increment_step!, which expects a TBLogger
@KDr2 Maybe introduce a fallback for increment_step!
, then throw an error when not overloaded for concrete logger types?
TensorBoardLogger.increment_step!, which expects a TBLogger
@KDr2 Maybe introduce a fallback for
increment_step!
, then throw an error when not overloaded for concrete logger types?
TensorBoardLogger.increment_step!(::AbstractLogger) =
throw(ErrorException("Please implement `TensorBoardLogger.increment_step!` for your logger type."))
Like this? I think it would be better if we put it in package TensorBoardLogger
?
Like this? I think it would be better if we put it in package TensorBoardLogger?
Sounds good.
Loosen the logger type in TensorBoardLogger from TBLogger to AbstractLogger, so we can pass a customized logger type to send the logs to an HTTP API or any other place instead of a file.