Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FROM python:3.6.4-slim-stretch
RUN apt-get update && apt-get install -y build-essential git time
RUN pip install
RUN git clone
WORKDIR $HOME/models/official/resnet/
RUN pip3 install -r ../requirements.txt
RUN python ./
ENTRYPOINT python ./

This comment has been minimized.

Copy link

@vladwa vladwa commented Jun 4, 2019

Error while building docker image.

Step 8/9 : RUN python ./
---> Running in fbe9bb9b3685
Traceback (most recent call last):
File "./", line 63, in[sys.argv[0]] + unparsed)
AttributeError: module 'tensorflow.python.util.compat' has no attribute 'v1'
The command '/bin/sh -c python ./' returned a non-zero code: 1

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