Skip to content

Conversation

@liopeer
Copy link
Contributor

@liopeer liopeer commented Jan 10, 2025

Changes

  • changes how we test if the torchvision.transforms.v2 is available

Necessity

  • Testing if we can import torchvision.transforms.v2 is not enough since we need to make sure that we install a version that also has a stable version of the API. Trying to mport Mask should be safer.

@codecov
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.24%. Comparing base (c25309c) to head (37ebd7c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1779   +/-   ##
=======================================
  Coverage   85.24%   85.24%           
=======================================
  Files         163      163           
  Lines        6832     6832           
=======================================
  Hits         5824     5824           
  Misses       1008     1008           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@liopeer liopeer merged commit 5db25cf into master Jan 13, 2025
14 checks passed
@liopeer liopeer deleted the fix-torchvisionv2-dependency branch January 13, 2025 14:01
ggzhang0071 pushed a commit to ggzhang0071/lightly that referenced this pull request Sep 24, 2025
* fix torchvision dependency test

* update dependency check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants