Skip to content

Commit

Permalink
Add requirements.txt protobuf<=3.20.1 (ultralytics#8017)
Browse files Browse the repository at this point in the history
* Pin `protobuf==3.20.1`

* Update requirements.txt

* Update ci-testing.yml
  • Loading branch information
glenn-jocher authored and Clay Januhowski committed Sep 8, 2022
1 parent 6cae463 commit 42867f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt protobuf==3.20.1 coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
python --version
pip --version
pip list
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt protobuf==3.20.1 --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
python --version
pip --version
pip list
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ scipy>=1.4.1 # Google Colab version
torch>=1.7.0
torchvision>=0.8.1
tqdm>=4.41.0
protobuf<=3.20.1 # https://github.com/ultralytics/yolov5/issues/8012

# Logging -------------------------------------
tensorboard>=2.4.1
Expand Down

0 comments on commit 42867f8

Please sign in to comment.