From 887912586cb0dfb69833060b8f6b0b9b6bf6c604 Mon Sep 17 00:00:00 2001 From: makseq-ubnt <makseq@gmail.com> Date: Wed, 19 Jun 2024 03:04:51 +0100 Subject: [PATCH 1/2] fix: Deps with numpy<2 --- label_studio_ml/examples/easyocr/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/label_studio_ml/examples/easyocr/requirements.txt b/label_studio_ml/examples/easyocr/requirements.txt index 96379ea4..082197f3 100644 --- a/label_studio_ml/examples/easyocr/requirements.txt +++ b/label_studio_ml/examples/easyocr/requirements.txt @@ -1,3 +1,4 @@ easyocr==1.7.1 boto3==1.28.58 -opencv-python-headless==4.9.0.80 \ No newline at end of file +opencv-python-headless==4.9.0.80 +numpy<2 \ No newline at end of file From 1d1ce05a55642bedd1e7efe6503c50544e007c5b Mon Sep 17 00:00:00 2001 From: makseq-ubnt <makseq@gmail.com> Date: Wed, 19 Jun 2024 03:07:19 +0100 Subject: [PATCH 2/2] Fix --- label_studio_ml/examples/huggingface_ner/requirements.txt | 3 ++- label_studio_ml/examples/mmdetection-3/requirements.txt | 1 + label_studio_ml/examples/nemo_asr/requirements.txt | 1 + label_studio_ml/examples/spacy/requirements.txt | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/label_studio_ml/examples/huggingface_ner/requirements.txt b/label_studio_ml/examples/huggingface_ner/requirements.txt index b52ab06f..d92070dc 100644 --- a/label_studio_ml/examples/huggingface_ner/requirements.txt +++ b/label_studio_ml/examples/huggingface_ner/requirements.txt @@ -1,3 +1,4 @@ transformers==4.30.2 datasets==2.18.0 -accelerate==0.28.0 \ No newline at end of file +accelerate==0.28.0 +numpy<2 \ No newline at end of file diff --git a/label_studio_ml/examples/mmdetection-3/requirements.txt b/label_studio_ml/examples/mmdetection-3/requirements.txt index 494be5f0..26f645fe 100644 --- a/label_studio_ml/examples/mmdetection-3/requirements.txt +++ b/label_studio_ml/examples/mmdetection-3/requirements.txt @@ -1,2 +1,3 @@ boto3>=1.26.103,<2.0.0 openmim~=0.3.9 +numpy<2 \ No newline at end of file diff --git a/label_studio_ml/examples/nemo_asr/requirements.txt b/label_studio_ml/examples/nemo_asr/requirements.txt index b0d68f3a..b4ed7e12 100644 --- a/label_studio_ml/examples/nemo_asr/requirements.txt +++ b/label_studio_ml/examples/nemo_asr/requirements.txt @@ -1 +1,2 @@ nemo-toolkit[all] +numpy<2 \ No newline at end of file diff --git a/label_studio_ml/examples/spacy/requirements.txt b/label_studio_ml/examples/spacy/requirements.txt index f9e91039..63a76adf 100644 --- a/label_studio_ml/examples/spacy/requirements.txt +++ b/label_studio_ml/examples/spacy/requirements.txt @@ -1,3 +1,4 @@ gunicorn==22.0.0 spacy~=3.6 label-studio-ml @ git+https://github.com/HumanSignal/label-studio-ml-backend.git@master +numpy<2 \ No newline at end of file