glenn-jocher commited on
Commit
7433d38
1 Parent(s): 5580b27

Add requirements.txt `protobuf<=3.20.1` (#8017)

Browse files

* Pin `protobuf==3.20.1`

* Update requirements.txt

* Update ci-testing.yml

.github/workflows/ci-testing.yml CHANGED
@@ -33,7 +33,7 @@ jobs:
33
  - name: Install requirements
34
  run: |
35
  python -m pip install --upgrade pip
36
- pip install -r requirements.txt protobuf==3.20.1 coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
37
  python --version
38
  pip --version
39
  pip list
@@ -78,7 +78,7 @@ jobs:
78
  - name: Install requirements
79
  run: |
80
  python -m pip install --upgrade pip
81
- pip install -r requirements.txt protobuf==3.20.1 --extra-index-url https://download.pytorch.org/whl/cpu
82
  python --version
83
  pip --version
84
  pip list
 
33
  - name: Install requirements
34
  run: |
35
  python -m pip install --upgrade pip
36
+ pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
37
  python --version
38
  pip --version
39
  pip list
 
78
  - name: Install requirements
79
  run: |
80
  python -m pip install --upgrade pip
81
+ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
82
  python --version
83
  pip --version
84
  pip list
requirements.txt CHANGED
@@ -12,6 +12,7 @@ scipy>=1.4.1 # Google Colab version
12
  torch>=1.7.0
13
  torchvision>=0.8.1
14
  tqdm>=4.41.0
 
15
 
16
  # Logging -------------------------------------
17
  tensorboard>=2.4.1
 
12
  torch>=1.7.0
13
  torchvision>=0.8.1
14
  tqdm>=4.41.0
15
+ protobuf<=3.20.1 # https://github.com/ultralytics/yolov5/issues/8012
16
 
17
  # Logging -------------------------------------
18
  tensorboard>=2.4.1