Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 7, 2023
1 parent 0290511 commit 74c491f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions benchmarks/image_classification/docker/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ENV PYTHON_VERSION=3.7
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV PATH /opt/anaconda3/bin:$PATH
ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /app
ENV HOME /app
Expand Down Expand Up @@ -73,8 +74,8 @@ COPY benchmarks/image_classification/python /app
# Prepare dataset and model
# Here's the dataset with 500 images
RUN cd ./data_imagenet && \
unzip ILSVRC2012_img_val.tar && \
rm -f ILSVRC2012_img_val.tar && \
unzip ILSVRC2012_img_val.zip && \
rm -f ILSVRC2012_img_val.zip && \
cd ../models && \
unzip resnet50_v1.pb.zip && \
rm -rf resnet50_v1.pb.zip
Expand Down

0 comments on commit 74c491f

Please sign in to comment.