From 25b1726a1ad6b5526d924ffae6281407bba7e71f Mon Sep 17 00:00:00 2001 From: Dave Meikle Date: Thu, 12 Nov 2020 03:52:18 +0000 Subject: [PATCH 1/2] Updated imagenet download URLs --- InceptionRestDockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InceptionRestDockerfile b/InceptionRestDockerfile index 4fe4933..130e957 100644 --- a/InceptionRestDockerfile +++ b/InceptionRestDockerfile @@ -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/ @@ -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 \ No newline at end of file +CMD inceptionapi From 20ee213530c2feee55d4a767d05335e12641e4b8 Mon Sep 17 00:00:00 2001 From: Dave Meikle Date: Thu, 12 Nov 2020 03:54:35 +0000 Subject: [PATCH 2/2] Updated imagenet download URLs --- InceptionVideoRestDockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InceptionVideoRestDockerfile b/InceptionVideoRestDockerfile index c6cb273..a5edf03 100644 --- a/InceptionVideoRestDockerfile +++ b/InceptionVideoRestDockerfile @@ -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/ @@ -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 \ No newline at end of file +CMD inceptionapi