Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions training/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN pip3 --no-cache-dir install tensorflowjs==0.8.6

WORKDIR /

RUN git clone --depth 1 https://github.com/tensorflow/tensorflow.git --branch r1.7
RUN git clone --depth 1 https://github.com/tensorflow/hub --branch r0.5

CMD python3 /tensorflow/tensorflow/examples/image_retraining/retrain.py \
CMD python3 /hub/examples/image_retraining/retrain.py \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new retrain.py script does not support architecture flag, so we need to specify the model architecture using tfhub_module flag instead. Could you update the flag accordingly?

--image_dir /data/images \
--how_many_training_steps=4000 \
--eval_step_interval=100 \
Expand Down
4 changes: 2 additions & 2 deletions training/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ RUN pip3 install -U pip

WORKDIR /

RUN git clone --depth 1 https://github.com/tensorflow/tensorflow.git --branch r1.7
RUN git clone --depth 1 https://github.com/tensorflow/hub --branch r0.5

CMD python3 /tensorflow/tensorflow/examples/image_retraining/retrain.py \
CMD python3 /hub/examples/image_retraining/retrain.py \
--image_dir /data/images \
--how_many_training_steps=4000 \
--eval_step_interval=100 \
Expand Down