vturrisi / solo-learn

solo-learn: a library of self-supervised methods for visual representation learning powered by Pytorch Lightning
MIT License
1.41k stars 182 forks source link

Fix how to get number of devices on pytorch lightning 1.6+ #269

Closed vturrisi closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #269 (5786a48) into main (b2fc210) will decrease coverage by 0.18%. The diff coverage is 100.00%.

Flag Coverage Δ *Carryforward flag
cpu 80.81% <100.00%> (-0.01%) :arrow_down:
dali 40.66% <100.00%> (ø) Carriedforward from a1b8525

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
solo/methods/mocov3.py 100.00% <ø> (ø)
solo/methods/base.py 77.97% <100.00%> (-0.54%) :arrow_down:
solo/methods/linear.py 88.46% <100.00%> (+0.72%) :arrow_up:
solo/utils/backbones.py 65.57% <0.00%> (-1.48%) :arrow_down:
solo/utils/misc.py 68.70% <0.00%> (-1.37%) :arrow_down:
solo/losses/mocov3.py 80.00% <0.00%> (-0.96%) :arrow_down:
solo/utils/dali_dataloader.py 37.88% <0.00%> (+0.08%) :arrow_up: