Incorrect type hints for log_dict(MetricCollection())
?
#18641
Labels
bug
Something isn't working
code quality
good first issue
Good for newcomers
help wanted
Open to be worked on
ver: 2.0.x
Bug description
I'm using TorchMetrics to compute various metrics in my
LightningModule
. However, it doesn't seem like the type hints allow passing aMetricCollection
directly tolog_dict
.What version are you seeing the problem on?
v2.0
How to reproduce the bug
Error messages and logs
Environment
Current environment
More info
No response
cc @Borda
The text was updated successfully, but these errors were encountered: