-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix]Fix the deprecation of np.float and fix ci configuration #2451
Conversation
Codecov ReportBase: 88.97% // Head: 88.97% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #2451 +/- ##
=======================================
Coverage 88.97% 88.97%
=======================================
Files 146 146
Lines 8749 8749
Branches 1474 1474
=======================================
Hits 7784 7784
Misses 723 723
Partials 242 242
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…mlab#2451) ## Motivation 1. numpy from 1.24 deprecated the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int https://numpy.org/devdocs/release/1.24.0-notes.html 2. timm needs to pytorch>=1.7, so ignore test timm in pytorch 1.5 and 1.6 3. Remove install pillow as it doesn't test torchvision < 0.5 ## Modification 1. np.float->np.float32 2. torch >= '1.7.0' -> matrix.torch != '1.5.1+cu101' && matrix.torch != '1.6.0+cu101' (as '1.10' < '1.7' 3. Remove install pillow
## Motivation 1. numpy from 1.24 deprecated the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int https://numpy.org/devdocs/release/1.24.0-notes.html 2. timm needs to pytorch>=1.7, so ignore test timm in pytorch 1.5 and 1.6 3. Remove install pillow as it doesn't test torchvision < 0.5 ## Modification 1. np.float->np.float32 2. torch >= '1.7.0' -> matrix.torch != '1.5.1+cu101' && matrix.torch != '1.6.0+cu101' (as '1.10' < '1.7' 3. Remove install pillow
…mlab#2451) ## Motivation 1. numpy from 1.24 deprecated the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int https://numpy.org/devdocs/release/1.24.0-notes.html 2. timm needs to pytorch>=1.7, so ignore test timm in pytorch 1.5 and 1.6 3. Remove install pillow as it doesn't test torchvision < 0.5 ## Modification 1. np.float->np.float32 2. torch >= '1.7.0' -> matrix.torch != '1.5.1+cu101' && matrix.torch != '1.6.0+cu101' (as '1.10' < '1.7' 3. Remove install pillow
Motivation
numpy from 1.24 deprecated the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int
https://numpy.org/devdocs/release/1.24.0-notes.html
timm needs to pytorch>=1.7, so ignore test timm in pytorch 1.5 and 1.6
Remove install pillow as it doesn't test torchvision < 0.5
Modification
np.float->np.float32
torch >= '1.7.0' -> matrix.torch != '1.5.1+cu101' && matrix.torch != '1.6.0+cu101' (as '1.10' < '1.7'
Remove install pillow