-
Notifications
You must be signed in to change notification settings - Fork 443
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
[OTX] Fix deprecated np.bool issue from numpy==1.24.0 #1456
Conversation
Signed-off-by: Songki Choi <[email protected]>
Signed-off-by: Songki Choi <[email protected]>
Signed-off-by: Songki Choi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM w/ minor comment
@@ -1,2 +1,3 @@ | |||
openmodelzoo-modelapi==2022.2.0 | |||
otx @ git+https://github.com/openvinotoolkit/training_extensions/@e12437e6660b257731e76192344d01c70f603f73#egg=otx | |||
numpy<=1.23.5 # np.bool was removed in 1.24.0 which was used in openvino runtime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this conflict with the NNCF and OpenVINO installation? I'm getting errors during the installation which following the quick start guide.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
openvino 2022.1.0 requires numpy<1.20,>=1.16.6, but you have numpy 1.24.0 which is incompatible.
openvino-dev 2022.1.0 requires numpy<1.20,>=1.16.6, but you have numpy 1.24.0 which is incompatible.
openvino-dev 2022.1.0 requires numpy<=1.21,>=1.16.6; python_version > "3.6", but you have numpy 1.24.0 which is incompatible.
openmodelzoo-modelapi 0.0.0 requires numpy<=1.21,>=1.16.6; python_version > "3.6", but you have numpy 1.24.0 which is incompatible.
nncf 2.1.0.dev0+e85a695d requires numpy~=1.19.2, but you have numpy 1.24.0 which is incompatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@goodsong81 it seems like OV-dev 2022.3 requires np < 1.24 anyway
Signed-off-by: Songki Choi <[email protected]>
Signed-off-by: Songki Choi <[email protected]>
Same as #1455