jina-ai / jina-hub

An open-registry for hosting Jina executors via container images
Apache License 2.0
105 stars 48 forks source link

update mobilenet_v2 #47

Closed nan-wang closed 4 years ago

nan-wang commented 4 years ago

with jina-0.1.12, the image is broken.

nanwang@Nan-Mac-mini flower-search % jina pod --image jinaai/hub.executors.encoders.image.torchvision-mobilenet_v2

▶️  /Users/nanwang/.pyenv/versions/3.7.5/bin/jina pod --image jinaai/hub.executors.encoders.image.torchvision-mobilenet_v2
                      array-in-pb = False
                    check-version = False
🔧️                            cli = pod
                     compress-hwm = -1
                     compress-lwm = 1.0
                    ctrl-with-ipc = False
                    dump-interval = 240
                       entrypoint = None
                     exit-no-dump = False
                             host = 0.0.0.0
                          host-in = 0.0.0.0
                         host-out = 0.0.0.0
                         identity = 4d77423ad8
🔧️                          image = jinaai/hub.executors.encoders.
                      log-profile = False
                       log-remote = False
                          log-sse = False
                log-with-own-name = False
                    max-idle-time = 60
                 max-message-size = -1
                       memory-hwm = -1
                             name = None
                         num-part = 1
                          polling = ANY
                        port-ctrl = 51821
                        port-grpc = 51822
                          port-in = 51819
                         port-out = 51820
                            proxy = False
                      pull-latest = False
                       py-modules = None
                        read-only = False
               reducing-yaml-path = _forward
                       replica-id = -1
                         replicas = 1
                             role = None
                          runtime = process
                       scheduling = LOAD_BALANCE
              separated-workspace = False
                    shutdown-idle = False
                        socket-in = PULL_BIND
                       socket-out = PUSH_BIND
                          timeout = -1
                     timeout-ctrl = 5000
                    timeout-ready = 10000
                          volumes = None
                        yaml-path = BaseExecutor

 ContainerPea-0@1408[I]:waiting ready signal from the container
🐳 usage: jina [-h] [-v] [-vf]
🐳 {hello-world, pod, flow, gateway ... 5 more choices} ...
🐳 jina: error: unrecognized arguments: --role REPLICA
 ContainerPea-0@1408[S]:terminated
 ContainerPea-0@1390[C]:fail to start <class 'jina.peapods.container.ContainerPea'> with name ContainerPea-0
nan-wang commented 4 years ago

fixed by running

docker pull jinaai/hub.executors.encoders.image.torchvision-mobilenet_v2