[
https://issues.apache.org/jira/browse/TIKA-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205254#comment-16205254
]
ASF GitHub Bot commented on TIKA-2400:
--------------------------------------
thammegowda commented on issue #208: Fix for TIKA-2400 Standardizing current
Object Recognition REST parsers
URL: https://github.com/apache/tika/pull/208#issuecomment-336733795
I cant test image as well as video docker.
```
docker run -it -p 8764:8764 uscdatascience/inception-rest-tika
Unable to find image 'uscdatascience/inception-rest-tika:latest' locally
latest: Pulling from uscdatascience/inception-rest-tika
9fb6c798fa41: Already exists
3b61febd4aef: Already exists
9d99b9777eb0: Already exists
d010c8cf75d7: Already exists
7fac07fb303e: Already exists
5601f0fca79b: Already exists
dad2688af054: Already exists
efa7176a3f6c: Already exists
5ba941a90099: Already exists
b5a6f1155f94: Already exists
7e863f718dc4: Already exists
Digest:
sha256:20840a9c9e5cd2fed7d6c19ba322228901c9ba6ec06fe0afe13b9f6624dc12e2
Status: Downloaded newer image for uscdatascience/inception-rest-tika:latest
Can't import video libraries, No video functionality is available
Traceback (most recent call last):
File "/usr/bin/inceptionapi.py", line 265, in <module>
app = Classifier(__name__)
File "/usr/bin/inceptionapi.py", line 221, in __init__
self.names = imagenet.create_readable_names_for_imagenet_labels()
File
"/models-c15fada28113eca32dc98d6e3bec4755d0d5b4c2/slim/datasets/imagenet.py",
line 93, in create_readable_names_for_imagenet_labels
assert num_synsets_in_ilsvrc == 1000
AssertionError
```
```
$ docker run -it -p 8764:8764 uscdatascience/inception-video-rest-tika
.........
cv2.__version__ 3.2.0
Traceback (most recent call last):
File "/usr/bin/inceptionapi.py", line 265, in <module>
app = Classifier(__name__)
File "/usr/bin/inceptionapi.py", line 221, in __init__
self.names = imagenet.create_readable_names_for_imagenet_labels()
File
"/models-c15fada28113eca32dc98d6e3bec4755d0d5b4c2/slim/datasets/imagenet.py",
line 93, in create_readable_names_for_imagenet_labels
assert num_synsets_in_ilsvrc == 1000
AssertionError
```
I will wait for others to test and confirm if the issue is with my docker
setup or with the images
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Standardizing current Object Recognition REST parsers
> -----------------------------------------------------
>
> Key: TIKA-2400
> URL: https://issues.apache.org/jira/browse/TIKA-2400
> Project: Tika
> Issue Type: Sub-task
> Components: parser
> Reporter: Thejan Wijesinghe
> Priority: Minor
> Fix For: 1.17
>
>
> # This involves adding apiBaseUris and refactoring current Object Recognition
> REST parsers,
> # Refactoring dockerfiles related to those parsers.
> # Moving the logic related to checking minimum confidence into servers
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)