Open mzweilin opened 1 year ago
I should note that it looks like torchmetrics 1.0 will be released soon and that will re-include the mAP implementation that uses cocoapi. See: https://github.com/Lightning-AI/torchmetrics/milestone/13
torchmetrics 1.0 has been released! Upgrade all the dependencies!
What does this PR do?
Upgrade to the latest template 2.0.2 at https://github.com/ashleve/lightning-hydra-template
Changes
pre-commit
datamodule
->data
cpu
trainer configsrc.tasks
tosrc
src.utils.utils
into several .py filesaim
as a logger.gitignore
for theaim
loggerAlready included (or with newer versions) in #192
torch ~= 1.13.1
->torch ~= 2.0.1
pytorch-lightning ~= 1.6.5
->lightning ~= 2.0.2
torchmetrics == 0.6.0
->torchmetrics == 0.11.4
(newer PL requires torchmetrics>0.6.0)lightning.fabric
for TPU[Resolved] The PR depends on https://github.com/Lightning-AI/torchmetrics/issues/1024 We won't upgrade
torchmetrics
until they fix mAP.Type of change
Please check all relevant options.
Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
pytest
Before submitting
pre-commit run -a
command without errorsDid you have fun?
Make sure you had fun coding 🙃