Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update imagenet download URLs #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions InceptionRestDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ WORKDIR /usr/share/apache-tika/models/dl/image-video/recognition/

RUN curl -O http://download.tensorflow.org/models/inception_v4_2016_09_09.tar.gz && \
tar -xzvf inception_v4_2016_09_09.tar.gz && rm -rf inception_v4_2016_09_09.tar.gz && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/inception/inception/data/imagenet_lsvrc_2015_synsets.txt && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/inception/inception/data/imagenet_metadata.txt
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/slim/datasets/imagenet_lsvrc_2015_synsets.txt && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/slim/datasets/imagenet_metadata.txt

# Download server related source files
WORKDIR /usr/share/apache-tika/src/dl/image-video/recognition/
Expand All @@ -50,4 +50,4 @@ RUN ln -s /usr/share/apache-tika/src/dl/image-video/recognition/inceptionapi.py
# Expose API port, this is the default port
EXPOSE 8764

CMD inceptionapi
CMD inceptionapi
6 changes: 3 additions & 3 deletions InceptionVideoRestDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ WORKDIR /usr/share/apache-tika/models/dl/image-video/recognition/

RUN curl -O http://download.tensorflow.org/models/inception_v4_2016_09_09.tar.gz && \
tar -xzvf inception_v4_2016_09_09.tar.gz && rm -rf inception_v4_2016_09_09.tar.gz && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/inception/inception/data/imagenet_lsvrc_2015_synsets.txt && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/inception/inception/data/imagenet_metadata.txt
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/slim/datasets/imagenet_lsvrc_2015_synsets.txt && \
curl -O https://raw.githubusercontent.com/tensorflow/models/master/research/slim/datasets/imagenet_metadata.txt

# Download server related source files
WORKDIR /usr/share/apache-tika/src/dl/image-video/recognition/
Expand Down Expand Up @@ -105,4 +105,4 @@ RUN ln -s /usr/share/apache-tika/src/dl/image-video/recognition/inceptionapi.py
# Expose API port, this is the default port
EXPOSE 8764

CMD inceptionapi
CMD inceptionapi