未验证 提交 90521682 编写于 作者: R Rodrigo Berriel 提交者: GitHub

Downgrade NumPy used by HRNet (#5574)

HRNet uses `np.int` which throws an error for NumPy >= 1.24, because its
deprecation was finally expired. This PR creates an additional step
during HRNet function image build, downgrading NumPy for a version <
1.24.

### Motivation and context
Closes #5571.
上级 97461eab
......@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(<https://github.com/opencv/cvat/pull/5873>)
- Width and height in CVAT dataset format mask annotations (<https://github.com/opencv/cvat/pull/5905>)
- Empty list of export formats for a project without tasks (<https://github.com/opencv/cvat/pull/5899>)
- Downgrade NumPy used by HRNet because `np.int` is no longer available (<https://github.com/opencv/cvat/pull/5574>)
### Security
- TDB
......
......@@ -54,7 +54,7 @@ spec:
- kind: RUN
value: pip3 install setuptools
- kind: RUN
value: pip3 install -r requirements.txt
value: pip3 install -r requirements.txt "numpy<1.24" # the NumPy version is not pinned and HRNet uses np.int which throws an error for NumPy >= 1.24 (PR#5574)
- kind: RUN
value: apt update && apt install -y libgl1-mesa-glx
- kind: RUN
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册