mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
metrics: Update TensorFlow ResNet FP32 dockerfile
This PR updates the python version for the TensorFlow ResNet FP32 dockerfile so the benchmark can run without issues. Fixes #8593 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
f75f17c4ff
commit
62fdebeeb5
@ -12,10 +12,14 @@ LABEL DOCKERFILE_VERSION="1.0"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends wget nano curl build-essential git && \
|
||||
apt-get install -y python3.8 python3-pip && \
|
||||
pip install --no-cache-dir intel-tensorflow-avx512==2.8.0 && \
|
||||
pip install --no-cache-dir protobuf==3.20.* && \
|
||||
wget -q https://storage.googleapis.com/intel-optimized-tensorflow/models/v1_8/resnet50_fp32_pretrained_model.pb && \
|
||||
git clone https://github.com/IntelAI/models.git
|
||||
git clone https://github.com/IntelAI/models.git && \
|
||||
wget -q https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz && \
|
||||
tar xzf Python-3.8.10.tgz && \
|
||||
cd Python-3.8.10 && \
|
||||
./configure --enable-optimizations && make altinstall && make install && \
|
||||
apt-get install -y python3-pip && \
|
||||
pip install --no-cache-dir intel-tensorflow-avx512==2.8.0 && \
|
||||
pip install --no-cache-dir protobuf==3.20.*
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
Loading…
Reference in New Issue
Block a user