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
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