Spaces:
Build error
Build error
| https://huggingface.co/spaces/chandrakalagowda/imagesearch | |
| Requirement already satisfied: tzdata==2023.3 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 114)) (2023.3) | |
| Requirement already satisfied: uc-micro-py==1.0.2 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 115)) (1.0.2) | |
| Requirement already satisfied: ujson==5.8.0 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 116)) (5.8.0) | |
| Requirement already satisfied: urllib3==2.0.3 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 117)) (2.0.3) | |
| Requirement already satisfied: uvicorn==0.22.0 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 118)) (0.22.0) | |
| Requirement already satisfied: wcwidth==0.2.6 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 119)) (0.2.6) | |
| Requirement already satisfied: webencodings==0.5.1 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 120)) (0.5.1) | |
| Requirement already satisfied: websockets==11.0.3 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 121)) (11.0.3) | |
| Requirement already satisfied: yarl==1.9.2 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 122)) (1.9.2) | |
| Requirement already satisfied: zipp==3.15.0 in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from -r requirements.txt (line 123)) (3.15.0) | |
| Requirement already satisfied: setuptools in /Users/www.abcom.in/Documents/milvus5/.milvus5env/lib/python3.11/site-packages (from grpcio-tools==1.53.0->-r requirements.txt (line 31)) (67.8.0) | |
| (.milvus5env) www.abcom.in Documents/milvus9 [master]$ python3 1_build_text_image_search_engine | |
| /usr/local/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/www.abcom.in/Documents/milvus9/1_build_text_image_search_engine': [Errno 2] No such file or directory | |
| (.milvus5env) www.abcom.in Documents/milvus9 [master]$ python3 1_build_text_image_search_engine9.py | |
| Traceback (most recent call last): | |
| File "/Users/www.abcom.in/Documents/milvus9/1_build_text_image_search_engine9.py", line 33, in <module> | |
| get_ipython().system(' curl -L https://github.com/towhee-io/examples/releases/download/data/reverse_image_search.zip -O') | |
| ^^^^^^^^^^^ | |
| NameError: name 'get_ipython' is not defined | |
| (.milvus5env) www.abcom.in Documents/milvus9 [master]$ ipython3 1_build_text_image_search_engine9.py | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 119M 100 119M 0 0 18.1M 0 0:00:06 0:00:06 --:--:-- 22.9M | |
| --------------------------------------------------------------------------- | |
| FutureTimeoutError Traceback (most recent call last) | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py:114, in GrpcHandler._wait_for_channel_ready(self, timeout) | |
| 113 try: | |
| --> 114 grpc.channel_ready_future(self._channel).result(timeout=timeout) | |
| 115 return | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/grpc/_utilities.py:151, in _ChannelReadyFuture.result(self, timeout) | |
| 150 def result(self, timeout: Optional[float] = None) -> None: | |
| --> 151 self._block(timeout) | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/grpc/_utilities.py:97, in _ChannelReadyFuture._block(self, timeout) | |
| 96 if remaining < 0: | |
| ---> 97 raise grpc.FutureTimeoutError() | |
| 98 else: | |
| FutureTimeoutError: | |
| The above exception was the direct cause of the following exception: | |
| MilvusException Traceback (most recent call last) | |
| File ~/Documents/milvus9/1_build_text_image_search_engine9.py:103 | |
| 100 collection.create_index(field_name="embedding", index_params=index_params) | |
| 101 return collection | |
| --> 103 collection = create_milvus_collection('text_image_search', 512) | |
| 106 # ## Text Image Search | |
| 107 # | |
| 108 # In this section, we'll show how to build our text-image search engine using Milvus. The basic idea behind our text-image search is the extract embeddings from images and texts using a deep neural network and compare the embeddings with those stored in Milvus. | |
| (...) | |
| 118 | |
| 119 # In[13]: | |
| 122 from towhee import ops, pipe, DataCollection | |
| File ~/Documents/milvus9/1_build_text_image_search_engine9.py:82, in create_milvus_collection(collection_name, dim) | |
| 81 def create_milvus_collection(collection_name, dim): | |
| ---> 82 connections.connect(host='127.0.0.1', port='19530') | |
| 84 if utility.has_collection(collection_name): | |
| 85 utility.drop_collection(collection_name) | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/pymilvus/orm/connections.py:303, in Connections.connect(self, alias, user, password, **kwargs) | |
| 300 if self._alias[alias].get("address") != in_addr: | |
| 301 raise ConnectionConfigException(message=ExceptionsMessage.ConnDiffConf % alias) | |
| --> 303 connect_milvus(**kwargs, user=user, password=password) | |
| 305 else: | |
| 306 if alias not in self._alias: | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/pymilvus/orm/connections.py:274, in Connections.connect.<locals>.connect_milvus(**kwargs) | |
| 271 t = kwargs.get("timeout") | |
| 272 timeout = t if isinstance(t, (int, float)) else DefaultConfig.DEFAULT_CONNECT_TIMEOUT | |
| --> 274 gh._wait_for_channel_ready(timeout=timeout) | |
| 275 kwargs.pop('password') | |
| 276 kwargs.pop('secure', None) | |
| File ~/Documents/milvus5/.milvus5env/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py:117, in GrpcHandler._wait_for_channel_ready(self, timeout) | |
| 115 return | |
| 116 except grpc.FutureTimeoutError as e: | |
| --> 117 raise MilvusException(Status.CONNECT_FAILED, | |
| 118 f'Fail connecting to server on {self._address}. Timeout') from e | |
| 120 raise MilvusException(Status.CONNECT_FAILED, 'No channel in handler, please setup grpc channel first') | |
| MilvusException: <MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:19530. Timeout)> | |
| (.milvus5env) www.abcom.in Documents/milvus9 [master]$ | |
| * History restored | |
| www.abcom.in Documents/milvus9 [master]$ ipython3 1_build_text_image_search_engine9.py | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 119M 100 119M 0 0 16.0M 0 0:00:07 0:00:07 --:--:-- 22.5M | |
| 2023-06-28 20:24:45,946 - 140704507159360 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): huggingface.co:443 | |
| 2023-06-28 20:24:46,689 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:24:50,540 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:24:59,879 - 140704507159360 - tpu_cluster_resolver.py-tpu_cluster_resolver:32 - DEBUG: Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client. | |
| 2023-06-28 20:25:00,599 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 7 to 5 | |
| 2023-06-28 20:25:00,599 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 5 to 7 | |
| 2023-06-28 20:25:00,599 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 7 to 5 | |
| 2023-06-28 20:25:00,599 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 5 to 7 | |
| 2023-06-28 20:25:04,987 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:25:05,704 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:25:05,832 - 123145514000384 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:25:05,832 - 123145530789888 - node.py-node:167 - INFO: Begin to run Node-image-decode/cv2-0 | |
| 2023-06-28 20:25:05,834 - 123145547579392 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-1 | |
| 2023-06-28 20:25:05,834 - 123145514000384 - node.py-node:167 - INFO: Begin to run Node-lambda-2 | |
| 2023-06-28 20:25:05,834 - 123145564368896 - node.py-node:167 - INFO: Begin to run Node-_output | |
| [ WARN:0@26.603] global loadsave.cpp:244 findDecoder imread_('./teddy.png'): can't open/read file: check file path/integrity | |
| 2023-06-28 20:25:05,840 - 123145530789888 - image_decode_cv2.py-image_decode_cv2:68 - ERROR: Read image ./teddy.png failed | |
| 2023-06-28 20:25:05,842 - 123145530789888 - node.py-node:142 - INFO: image-decode/cv2-0 ends with status: NodeStatus.FAILED | |
| --------------------------------------------------------------------------- | |
| RuntimeError Traceback (most recent call last) | |
| File ~/Documents/milvus9/1_build_text_image_search_engine9.py:138 | |
| 126 # In[14]: | |
| 127 | |
| 128 | |
| 129 ###. This section needs to have the teddy.png in the folder. Else it will throw an error. | |
| 130 p = ( | |
| 131 pipe.input('path') | |
| 132 .map('path', 'img', ops.image_decode.cv2('rgb')) | |
| (...) | |
| 135 .output('img', 'vec') | |
| 136 ) | |
| --> 138 DataCollection(p('./teddy.png')).show() | |
| 141 # In[15]: | |
| 144 p2 = ( | |
| 145 pipe.input('text') | |
| 146 .map('text', 'vec', ops.image_text_embedding.clip(model_name='clip_vit_base_patch16', modality='text')) | |
| 147 .map('vec', 'vec', lambda x: x / np.linalg.norm(x)) | |
| 148 .output('text', 'vec') | |
| 149 ) | |
| File /usr/local/lib/python3.11/site-packages/towhee/runtime/runtime_pipeline.py:159, in RuntimePipeline.__call__(self, *inputs) | |
| 155 def __call__(self, *inputs): | |
| 156 """ | |
| 157 Output with ordering matching the input `DataQueue`. | |
| 158 """ | |
| --> 159 return self._call(*inputs, profiler=False, tracer=False)[0] | |
| File /usr/local/lib/python3.11/site-packages/towhee/runtime/runtime_pipeline.py:177, in RuntimePipeline._call(self, profiler, tracer, trace_edges, *inputs) | |
| 174 time_profiler = TimeProfiler(True) if profiler else TimeProfiler(False) | |
| 175 graph = _Graph(self._dag_repr.nodes, self._dag_repr.edges, self._operator_pool, self._thread_pool, time_profiler, trace_edges) | |
| --> 177 return graph(inputs), [graph.time_profiler] if profiler else None, [graph.data_queues] if tracer else None | |
| File /usr/local/lib/python3.11/site-packages/towhee/runtime/runtime_pipeline.py:116, in _Graph.__call__(self, inputs) | |
| 114 def __call__(self, inputs: Union[Tuple, List]): | |
| 115 f = self.async_call(inputs) | |
| --> 116 return f.result() | |
| File /usr/local/lib/python3.11/site-packages/towhee/runtime/runtime_pipeline.py:34, in _GraphResult.result(self) | |
| 33 def result(self): | |
| ---> 34 ret = self._graph.result() | |
| 35 self._graph.release_op() | |
| 36 del self._graph | |
| File /usr/local/lib/python3.11/site-packages/towhee/runtime/runtime_pipeline.py:95, in _Graph.result(self) | |
| 93 errs += node.err_msg + '\n' | |
| 94 if errs: | |
| ---> 95 raise RuntimeError(errs) | |
| 96 end_edge_num = self._nodes['_output'].out_edges[0] | |
| 97 res = self._data_queues[end_edge_num] | |
| RuntimeError: Node-image-decode/cv2-0 runs failed, error msg: Read image ./teddy.png failed, Traceback (most recent call last): | |
| File "/usr/local/lib/python3.11/site-packages/towhee/runtime/nodes/node.py", line 158, in _call | |
| return True, self._op(*inputs), None | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/Users/www.abcom.in/.towhee/operators/image-decode/cv2/versions/main/image_decode_cv2.py", line 69, in __call__ | |
| raise RuntimeError(err) | |
| RuntimeError: Read image ./teddy.png failed | |
| , Traceback (most recent call last): | |
| File "/usr/local/lib/python3.11/site-packages/towhee/runtime/nodes/node.py", line 171, in process | |
| self.process_step() | |
| File "/usr/local/lib/python3.11/site-packages/towhee/runtime/nodes/_map.py", line 63, in process_step | |
| assert succ, msg | |
| AssertionError: Read image ./teddy.png failed, Traceback (most recent call last): | |
| File "/usr/local/lib/python3.11/site-packages/towhee/runtime/nodes/node.py", line 158, in _call | |
| return True, self._op(*inputs), None | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/Users/www.abcom.in/.towhee/operators/image-decode/cv2/versions/main/image_decode_cv2.py", line 69, in __call__ | |
| raise RuntimeError(err) | |
| RuntimeError: Read image ./teddy.png failed | |
| www.abcom.in Documents/milvus9 [master]$ ipython3 1_build_text_image_search_engine9.py | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 119M 100 119M 0 0 19.0M 0 0:00:06 0:00:06 --:--:-- 21.6M | |
| 2023-06-28 20:25:47,480 - 140704507159360 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): huggingface.co:443 | |
| 2023-06-28 20:25:48,257 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:25:51,681 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:25:59,989 - 140704507159360 - tpu_cluster_resolver.py-tpu_cluster_resolver:32 - DEBUG: Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client. | |
| 2023-06-28 20:26:00,246 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 7 to 5 | |
| 2023-06-28 20:26:00,246 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 5 to 7 | |
| 2023-06-28 20:26:00,246 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 7 to 5 | |
| 2023-06-28 20:26:00,246 - 140704507159360 - __init__.py-__init__:47 - DEBUG: Creating converter from 5 to 7 | |
| 2023-06-28 20:26:02,126 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:02,389 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:02,491 - 123145583087616 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:26:02,492 - 123145599877120 - node.py-node:167 - INFO: Begin to run Node-image-decode/cv2-0 | |
| 2023-06-28 20:26:02,493 - 123145583087616 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-1 | |
| 2023-06-28 20:26:02,493 - 123145616666624 - node.py-node:167 - INFO: Begin to run Node-lambda-2 | |
| 2023-06-28 20:26:02,493 - 123145633456128 - node.py-node:167 - INFO: Begin to run Node-_output | |
| 2023-06-28 20:26:03,416 - 140704507159360 - __init__.py-__init__:307 - DEBUG: matplotlib data path: /usr/local/lib/python3.11/site-packages/matplotlib/mpl-data | |
| 2023-06-28 20:26:03,421 - 140704507159360 - __init__.py-__init__:307 - DEBUG: CONFIGDIR=/Users/www.abcom.in/.matplotlib | |
| 2023-06-28 20:26:03,423 - 140704507159360 - __init__.py-__init__:1475 - DEBUG: interactive is False | |
| 2023-06-28 20:26:03,423 - 140704507159360 - __init__.py-__init__:1476 - DEBUG: platform is darwin | |
| 2023-06-28 20:26:03,484 - 140704507159360 - __init__.py-__init__:307 - DEBUG: CACHEDIR=/Users/www.abcom.in/.matplotlib | |
| 2023-06-28 20:26:03,487 - 140704507159360 - font_manager.py-font_manager:1540 - DEBUG: Using fontManager instance from /Users/www.abcom.in/.matplotlib/fontlist-v330.json | |
| 2023-06-28 20:26:04,140 - 140704507159360 - pyplot.py-pyplot:339 - DEBUG: Loaded backend macosx version unknown. | |
| 2023-06-28 20:26:04,152 - 140704507159360 - selector_events.py-selector_events:54 - DEBUG: Using selector: InputHookSelector | |
| Installed osx event loop hook. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| <IPython.core.display.HTML object> | |
| 2023-06-28 20:26:04,745 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:08,989 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:09,878 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:10,153 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:10,247 - 123145655074816 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:26:10,247 - 123145671864320 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-0 | |
| 2023-06-28 20:26:10,247 - 123145655074816 - node.py-node:167 - INFO: Begin to run Node-lambda-1 | |
| 2023-06-28 20:26:10,250 - 123145688653824 - node.py-node:167 - INFO: Begin to run Node-_output | |
| <IPython.core.display.HTML object> | |
| 2023-06-28 20:26:11,189 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:16,011 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:16,352 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:16,617 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:26:16,727 - 123145722232832 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:26:16,727 - 123145722232832 - node.py-node:167 - INFO: Begin to run Node-read_csv-0 | |
| 2023-06-28 20:26:16,728 - 123145739022336 - node.py-node:167 - INFO: Begin to run Node-image-decode/cv2-1 | |
| 2023-06-28 20:26:16,728 - 123145755811840 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-2 | |
| 2023-06-28 20:26:16,728 - 123145772601344 - node.py-node:167 - INFO: Begin to run Node-lambda-3 | |
| 2023-06-28 20:26:16,729 - 123145789390848 - node.py-node:167 - INFO: Begin to run Node-ann-insert/milvus-client-4 | |
| 2023-06-28 20:26:16,729 - 123145806180352 - node.py-node:167 - INFO: Begin to run Node-_output | |
| CPU times: user 8min 36s, sys: 2min 55s, total: 11min 32s | |
| Wall time: 8min 37s | |
| Total number of inserted data is 0. | |
| 2023-06-28 20:34:49,856 - 140704507159360 - connectionpool.py-connectionpool:273 - DEBUG: Resetting dropped connection: huggingface.co | |
| 2023-06-28 20:34:50,626 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:54,096 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:54,505 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:54,812 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:54,960 - 123145839759360 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:34:54,960 - 123145839759360 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-0 | |
| 2023-06-28 20:34:54,960 - 123145856548864 - node.py-node:167 - INFO: Begin to run Node-lambda-1 | |
| 2023-06-28 20:34:54,966 - 123145873338368 - node.py-node:167 - INFO: Begin to run Node-ann-search/milvus-client-2 | |
| 2023-06-28 20:34:54,967 - 123145890127872 - node.py-node:167 - INFO: Begin to run Node-lambda-3 | |
| 2023-06-28 20:34:54,967 - 123145906917376 - node.py-node:167 - INFO: Begin to run Node-read_image-4 | |
| 2023-06-28 20:34:54,967 - 123145923706880 - node.py-node:167 - INFO: Begin to run Node-_output | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| <IPython.core.display.HTML object> | |
| 2023-06-28 20:34:55,357 - 123145822969856 - node.py-node:167 - INFO: Begin to run Node-_input | |
| 2023-06-28 20:34:55,357 - 123145839759360 - node.py-node:167 - INFO: Begin to run Node-image-text-embedding/clip-0 | |
| 2023-06-28 20:34:55,358 - 123145822969856 - node.py-node:167 - INFO: Begin to run Node-lambda-1 | |
| 2023-06-28 20:34:55,358 - 123145856548864 - node.py-node:167 - INFO: Begin to run Node-ann-search/milvus-client-2 | |
| 2023-06-28 20:34:55,359 - 123145873338368 - node.py-node:167 - INFO: Begin to run Node-lambda-3 | |
| 2023-06-28 20:34:55,359 - 123145890127872 - node.py-node:167 - INFO: Begin to run Node-read_image-4 | |
| 2023-06-28 20:34:55,359 - 123145906917376 - node.py-node:167 - INFO: Begin to run Node-_output | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| Shell is already running a gui event loop for osx. Call with no arguments to disable the current loop. | |
| <IPython.core.display.HTML object> | |
| 2023-06-28 20:34:55,837 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:58,705 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/vocab.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:59,113 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/preprocessor_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:34:59,831 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://huggingface.co:443 "HEAD /openai/clip-vit-base-patch16/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 | |
| 2023-06-28 20:35:01,099 - 140704507159360 - _config.py-_config:79 - DEBUG: load_ssl_context verify=True cert=None trust_env=True http2=False | |
| 2023-06-28 20:35:01,100 - 140704507159360 - _config.py-_config:146 - DEBUG: load_verify_locations cafile='/usr/local/lib/python3.11/site-packages/certifi/cacert.pem' | |
| 2023-06-28 20:35:01,145 - 123145705443328 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): api.gradio.app:443 | |
| 2023-06-28 20:35:01,164 - 140704507159360 - _config.py-_config:79 - DEBUG: load_ssl_context verify=True cert=None trust_env=True http2=False | |
| 2023-06-28 20:35:01,164 - 140704507159360 - _config.py-_config:146 - DEBUG: load_verify_locations cafile='/usr/local/lib/python3.11/site-packages/certifi/cacert.pem' | |
| 2023-06-28 20:35:01,197 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing BlpImagePlugin | |
| 2023-06-28 20:35:01,201 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing BmpImagePlugin | |
| 2023-06-28 20:35:01,201 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing BufrStubImagePlugin | |
| 2023-06-28 20:35:01,202 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing CurImagePlugin | |
| 2023-06-28 20:35:01,204 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing DcxImagePlugin | |
| 2023-06-28 20:35:01,205 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing DdsImagePlugin | |
| 2023-06-28 20:35:01,206 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing EpsImagePlugin | |
| 2023-06-28 20:35:01,208 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing FitsImagePlugin | |
| 2023-06-28 20:35:01,209 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing FitsStubImagePlugin | |
| 2023-06-28 20:35:01,210 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing FliImagePlugin | |
| 2023-06-28 20:35:01,211 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing FpxImagePlugin | |
| 2023-06-28 20:35:01,211 - 140704507159360 - Image.py-Image:383 - DEBUG: Image: failed to import FpxImagePlugin: No module named 'olefile' | |
| 2023-06-28 20:35:01,212 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing FtexImagePlugin | |
| 2023-06-28 20:35:01,213 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing GbrImagePlugin | |
| 2023-06-28 20:35:01,214 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing GifImagePlugin | |
| 2023-06-28 20:35:01,214 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing GribStubImagePlugin | |
| 2023-06-28 20:35:01,215 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing Hdf5StubImagePlugin | |
| 2023-06-28 20:35:01,216 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing IcnsImagePlugin | |
| 2023-06-28 20:35:01,219 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing IcoImagePlugin | |
| 2023-06-28 20:35:01,219 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing ImImagePlugin | |
| 2023-06-28 20:35:01,220 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing ImtImagePlugin | |
| 2023-06-28 20:35:01,221 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing IptcImagePlugin | |
| 2023-06-28 20:35:01,222 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing JpegImagePlugin | |
| 2023-06-28 20:35:01,222 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing Jpeg2KImagePlugin | |
| 2023-06-28 20:35:01,222 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing McIdasImagePlugin | |
| 2023-06-28 20:35:01,223 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing MicImagePlugin | |
| 2023-06-28 20:35:01,224 - 140704507159360 - Image.py-Image:383 - DEBUG: Image: failed to import MicImagePlugin: No module named 'olefile' | |
| 2023-06-28 20:35:01,224 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing MpegImagePlugin | |
| 2023-06-28 20:35:01,225 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing MpoImagePlugin | |
| 2023-06-28 20:35:01,228 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing MspImagePlugin | |
| 2023-06-28 20:35:01,229 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PalmImagePlugin | |
| 2023-06-28 20:35:01,231 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PcdImagePlugin | |
| 2023-06-28 20:35:01,232 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PcxImagePlugin | |
| 2023-06-28 20:35:01,232 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PdfImagePlugin | |
| 2023-06-28 20:35:01,239 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PixarImagePlugin | |
| 2023-06-28 20:35:01,239 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PngImagePlugin | |
| 2023-06-28 20:35:01,240 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PpmImagePlugin | |
| 2023-06-28 20:35:01,240 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing PsdImagePlugin | |
| 2023-06-28 20:35:01,240 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing QoiImagePlugin | |
| 2023-06-28 20:35:01,241 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing SgiImagePlugin | |
| 2023-06-28 20:35:01,242 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing SpiderImagePlugin | |
| 2023-06-28 20:35:01,243 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing SunImagePlugin | |
| 2023-06-28 20:35:01,243 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing TgaImagePlugin | |
| 2023-06-28 20:35:01,244 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing TiffImagePlugin | |
| 2023-06-28 20:35:01,244 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing WebPImagePlugin | |
| 2023-06-28 20:35:01,401 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing WmfImagePlugin | |
| 2023-06-28 20:35:01,402 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing XbmImagePlugin | |
| 2023-06-28 20:35:01,403 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing XpmImagePlugin | |
| 2023-06-28 20:35:01,404 - 140704507159360 - Image.py-Image:380 - DEBUG: Importing XVThumbImagePlugin | |
| 2023-06-28 20:35:01,430 - 140704507159360 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): checkip.amazonaws.com:443 | |
| 2023-06-28 20:35:02,136 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://checkip.amazonaws.com:443 "GET / HTTP/1.1" 200 16 | |
| 2023-06-28 20:35:02,146 - 140704507159360 - api.py-api:437 - DEBUG: Encoding detection: ascii is most likely the one. | |
| 2023-06-28 20:35:02,151 - 123145940496384 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): api.gradio.app:443 | |
| 2023-06-28 20:35:02,152 - 140704507159360 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): api.gradio.app:443 | |
| 2023-06-28 20:35:02,152 - 123145705443328 - connectionpool.py-connectionpool:456 - DEBUG: https://api.gradio.app:443 "GET /gradio-messaging/en HTTP/1.1" 200 3 | |
| 2023-06-28 20:35:03,207 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: https://api.gradio.app:443 "GET /pkg-version HTTP/1.1" 200 21 | |
| 2023-06-28 20:35:03,261 - 123145705443328 - selector_events.py-selector_events:54 - DEBUG: Using selector: KqueueSelector | |
| 2023-06-28 20:35:03,280 - 140704507159360 - connectionpool.py-connectionpool:228 - DEBUG: Starting new HTTP connection (1): 127.0.0.1:7860 | |
| 2023-06-28 20:35:03,284 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: http://127.0.0.1:7860 "GET /startup-events HTTP/1.1" 200 5 | |
| 2023-06-28 20:35:03,289 - 140704507159360 - connectionpool.py-connectionpool:228 - DEBUG: Starting new HTTP connection (1): 127.0.0.1:7860 | |
| 2023-06-28 20:35:03,303 - 140704507159360 - connectionpool.py-connectionpool:456 - DEBUG: http://127.0.0.1:7860 "HEAD / HTTP/1.1" 200 0 | |
| Running on local URL: http://127.0.0.1:7860 | |
| To create a public link, set `share=True` in `launch()`. | |
| <IPython.core.display.HTML object> | |
| 2023-06-28 20:35:03,328 - 123145940496384 - connectionpool.py-connectionpool:456 - DEBUG: https://api.gradio.app:443 "POST /gradio-initiated-analytics/ HTTP/1.1" 200 None | |
| 2023-06-28 20:35:03,334 - 123145974075392 - connectionpool.py-connectionpool:1003 - DEBUG: Starting new HTTPS connection (1): api.gradio.app:443 | |
| 2023-06-28 20:35:04,533 - 123145974075392 - connectionpool.py-connectionpool:456 - DEBUG: https://api.gradio.app:443 "POST /gradio-launched-telemetry/ HTTP/1.1" 200 None | |
| www.abcom.in Documents/milvus9 [master]$ gradiio deploy | |
| zsh: command not found: gradiio | |
| www.abcom.in Documents/milvus9 [master]$ gradio deploy | |
| Creating new Spaces Repo in '/Users/www.abcom.in/Documents/milvus9'. Collecting metadata, press Enter to accept default value. | |
| Enter Spaces app title [milvus9]: | |
| Enter Gradio app file [1_build_text_image_search_engine9.py]: imagesearch | |
| Traceback (most recent call last): | |
| File "/usr/local/bin/gradio", line 8, in <module> | |
| sys.exit(cli()) | |
| ^^^^^ | |
| File "/usr/local/lib/python3.11/site-packages/gradio/cli.py", line 12, in cli | |
| gradio.deploy_space.deploy() | |
| File "/usr/local/lib/python3.11/site-packages/gradio/deploy_space.py", line 155, in deploy | |
| configuration = add_configuration_to_readme( | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| File "/usr/local/lib/python3.11/site-packages/gradio/deploy_space.py", line 49, in add_configuration_to_readme | |
| raise FileNotFoundError("Failed to find Gradio app file.") | |
| FileNotFoundError: Failed to find Gradio app file. | |
| www.abcom.in Documents/milvus9 [master]$ gradio deploy | |
| Creating new Spaces Repo in '/Users/www.abcom.in/Documents/milvus9'. Collecting metadata, press Enter to accept default value. | |
| Enter Spaces app title [milvus9]: imagesearch | |
| Enter Gradio app file [1_build_text_image_search_engine9.py]: | |
| Enter Spaces hardware (cpu-basic, cpu-upgrade, t4-small, t4-medium, a10g-small, a10g-large, a100-large) [cpu-basic]: | |
| Any Spaces secrets (y/n) [n]: | |
| Create Github Action to automatically update Space on 'git push'? [n]: | |
| n13052670_6717.JPEG: 100%|ββββββββββββββββββββββββββββββββββββββββ| 1.00M/1.00M [00:08<00:00, 113kB/s] | |
| n01917289_1783.JPEG: 100%|ββββββββββββββββββββββββββββββββββββββββ| 2.25M/2.25M [00:10<00:00, 210kB/s] | |
| xl.meta: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 722/722 [00:00<00:00, 2.68kB/s] | |
| xl.meta: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 618/618 [00:00<00:00, 2.16kB/s] | |
| 000005.log: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 3.32M/3.32M [00:03<00:00, 1.09MB/s] | |
| xl.meta: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1.01k/1.01k [00:00<00:00, 3.79kB/s] | |
| xl.meta: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 615/615 [00:00<00:00, 2.00kB/s] | |
| xl.meta: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 483/483 [00:00<00:00, 1.48kB/s] | |
| part.1: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 2.06M/2.06M [00:01<00:00, 1.53MB/s] | |
| 0000000000000000-0000000000000000.wal: 100%|βββββββββββββββββββββ| 64.0M/64.0M [00:23<00:00, 2.77MB/s] | 0.00/615 [00:00<?, ?B/s] | |
| 0.tmp: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββ| 64.0M/64.0M [00:23<00:00, 2.72MB/s] | 0.00/483 [00:00<?, ?B/s] | |
| reverse_image_search.zip: 100%|ββββββββββββββββββββββββββββββββββββ| 126M/126M [00:33<00:00, 3.72MB/s] | |
| Upload 12 LFS files: 100%|ββββββββββββββββββββββββββββββββββββββββββββ| 12/12 [00:34<00:00, 2.89s/it] | |
| Space available at https://huggingface.co/spaces/chandrakalagowda/imagesearch [00:34<06:21, 34.71s/it] | |
| www.abcom.in Documents/milvus9 [master]$ |