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