Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Adeotan/d80ce6939b8fd51ee5296d55c421ef19 to your computer and use it in GitHub Desktop.
Save Adeotan/d80ce6939b8fd51ee5296d55c421ef19 to your computer and use it in GitHub Desktop.
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
@Chenhait
Copy link

hi, i try to build this image. However,
I do not know where are the cifar10_download_and_extract.py and cifar10_main.py
thank you very much if any advance!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment