You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading pipeline components...: 100%|███████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:03<00:00, 2.84it/s]
<gradio.components.image.Image object at 0x7f4c5ff2e9f0> <gradio.components.textbox.Textbox object at 0x7f4c503f06b0> <gradio.components.textbox.Textbox object at 0x7f4c5ff2f1a0> <gradio.components.radio.Radio object at 0x7f4c5ffb2420> <gradio.components.number.Number object at 0x7f4c405d5bb0> <gradio.components.number.Number object at 0x7f4c5ab6d0d0> <gradio.components.checkbox.Checkbox object at 0x7f4c5ffb3a70> <gradio.components.number.Number object at 0x7f4c8ebbec00>
To create a public link, set share=True in launch().
CompoDiff sampling loop: 100%|██████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 46.60it/s]
Traceback (most recent call last):
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/blocks.py", line 2014, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/blocks.py", line 1567, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/utils.py", line 846, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/mnt/data1/kushalverma/UGRC/CompoDiff/demo_search.py", line 137, in predict
results = client.query(embedding_input=features[0].tolist())[:15]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/clip_retrieval/clip_client.py", line 92, in query
return self.search_knn_api(embedding_input=embedding_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/clip_retrieval/clip_client.py", line 153, in search_knn_api
).json()
^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
Loading pipeline components...: 100%|███████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:03<00:00, 2.84it/s]
<gradio.components.image.Image object at 0x7f4c5ff2e9f0> <gradio.components.textbox.Textbox object at 0x7f4c503f06b0> <gradio.components.textbox.Textbox object at 0x7f4c5ff2f1a0> <gradio.components.radio.Radio object at 0x7f4c5ffb2420> <gradio.components.number.Number object at 0x7f4c405d5bb0> <gradio.components.number.Number object at 0x7f4c5ab6d0d0> <gradio.components.checkbox.Checkbox object at 0x7f4c5ffb3a70> <gradio.components.number.Number object at 0x7f4c8ebbec00>
To create a public link, set
share=True
inlaunch()
.CompoDiff sampling loop: 100%|██████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 46.60it/s]
Traceback (most recent call last):
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/requests/models.py", line 974, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/blocks.py", line 2014, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/blocks.py", line 1567, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/gradio/utils.py", line 846, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/mnt/data1/kushalverma/UGRC/CompoDiff/demo_search.py", line 137, in predict
results = client.query(embedding_input=features[0].tolist())[:15]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/clip_retrieval/clip_client.py", line 92, in query
return self.search_knn_api(embedding_input=embedding_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/clip_retrieval/clip_client.py", line 153, in search_knn_api
).json()
^^^^^^
File "/home/kushalverma/scratch/anaconda3/lib/python3.12/site-packages/requests/models.py", line 978, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: