Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Adeotan/d80ce6939b8fd51ee5296d55c421ef19 to your computer and use it in GitHub Desktop.

Select an option

Save Adeotan/d80ce6939b8fd51ee5296d55c421ef19 to your computer and use it in GitHub Desktop.

Revisions

  1. @balajismaniam balajismaniam created this gist Jul 17, 2018.
    13 changes: 13 additions & 0 deletions cpuman-perf-test-tf-resnet-dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    FROM python:3.6.4-slim-stretch

    RUN apt-get update && apt-get install -y build-essential git time

    RUN pip install https://anaconda.org/intel/tensorflow/1.6.0/download/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl

    RUN git clone https://github.com/tensorflow/models.git
    ENV PYTHONPATH $PYTHONPATH:$HOME/models
    WORKDIR $HOME/models/official/resnet/
    RUN pip3 install -r ../requirements.txt
    RUN python ./cifar10_download_and_extract.py

    ENTRYPOINT python ./cifar10_main.py