Skip to content

[Fix]Fix the deprecation of np.float and fix ci configuration #2451

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 14 commits into from
Jan 1, 2023

Conversation

MeowZheng
Copy link
Collaborator

@MeowZheng MeowZheng commented Dec 31, 2022

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

@codecov
Copy link

codecov bot commented Dec 31, 2022

Codecov Report

Base: 88.97% // Head: 88.97% // No change to project coverage 👍

Coverage data is based on head (93bf509) compared to base (2cbff70).
Patch has no changes to coverable lines.

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           
Flag Coverage Δ
unittests 88.97% <ø> (ø)

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MeowZheng MeowZheng changed the title [Fix]Fix the deprecation of np.float [Fix]Fix the deprecation of np.float and fix ci configuration Jan 1, 2023
@MeowZheng MeowZheng merged commit 5f4360b into open-mmlab:master Jan 1, 2023
@MeowZheng MeowZheng deleted the numpy-float-bc branch January 1, 2023 13:57
MeowZheng added a commit to MeowZheng/mmsegmentation that referenced this pull request Jan 9, 2023
…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
MeowZheng added a commit that referenced this pull request Jan 11, 2023
## 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
xiexinch pushed a commit to xiexinch/mmsegmentation that referenced this pull request Jan 11, 2023
…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
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this pull request Dec 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants