File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
.github/actions/tfv2-faster-rcnn Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Get base image
2
- FROM python:3.10.17 -slim-bookworm
2
+ FROM python:3.8.20 -slim-bookworm
3
3
4
4
# Install system wide softwares
5
5
RUN apt-get update \
@@ -22,15 +22,14 @@ RUN apt-get update \
22
22
&& rm -r /var/lib/apt/lists/*
23
23
24
24
RUN pip install --upgrade pip setuptools wheel
25
- RUN pip install tensorflow==2.19.0
26
25
27
26
# Install necessary libraries for tensorflow faster rcnn
28
27
RUN mkdir TensorFlow
29
28
RUN cd TensorFlow && git clone https://github.com/tensorflow/models
30
29
RUN cd TensorFlow && wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
31
30
RUN cd TensorFlow && unzip protoc-3.17.3-linux-x86_64.zip -d protobuf
32
31
RUN cd TensorFlow/models/research && /TensorFlow/protobuf/bin/protoc object_detection/protos/*.proto --python_out=.
33
- RUN cd TensorFlow/models/research && cp object_detection/packages/tf2/setup.py .
32
+ RUN cd TensorFlow/models/research && cp object_detection/packages/tf2/setup.py . && sed -i "/^'tensorflow_io',$/d; /^'keras',$/d" setup.py
34
33
RUN cd TensorFlow/models/research && python -m pip install .
35
34
36
- RUN pip install tqdm requests llvmlite numba==0.56.4 pytest-cov
35
+ RUN pip install tqdm requests llvmlite numba==0.56.4 pytest-cov "pytest<8.0.0" "exceptiongroup<1.1.0" tensorflow==2.6.0 keras==2.6.0
Original file line number Diff line number Diff line change 1
- from art .evaluations .great_score .great_score import GreatScorePyTorch
2
- from art .evaluations .security_curve .security_curve import SecurityCurve
1
+
You can’t perform that action at this time.
0 commit comments