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
(base) C:\Grounding-DINO-1.5-API>python gradio_app.py --token ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
Traceback (most recent call last):
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\queueing.py", line 521, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\blocks.py", line 1945, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\blocks.py", line 1513, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\utils.py", line 831, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gradio_app.py", line 46, in inference
results = gdino.inference(prompts, return_mask=return_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gdino\model_wrapper.py", line 48, in inference
image=self.get_image_url(prompt["image"]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gdino\model_wrapper.py", line 131, in get_image_url
url = self.client.upload_file(tmp_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\dds_cloudapi_sdk\client.py", line 76, in upload_file
with open(local_path, "rb") as fp:
^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpde5_40b6.png'
i get the permission error , again and again even after i tried to run it as administrator .
The text was updated successfully, but these errors were encountered:
(base) C:\Grounding-DINO-1.5-API>python gradio_app.py --token ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
.Traceback (most recent call last):
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\queueing.py", line 521, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\blocks.py", line 1945, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\blocks.py", line 1513, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\gradio\utils.py", line 831, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gradio_app.py", line 46, in inference
results = gdino.inference(prompts, return_mask=return_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gdino\model_wrapper.py", line 48, in inference
image=self.get_image_url(prompt["image"]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Grounding-DINO-1.5-API\gdino\model_wrapper.py", line 131, in get_image_url
url = self.client.upload_file(tmp_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrateur\anaconda3\Lib\site-packages\dds_cloudapi_sdk\client.py", line 76, in upload_file
with open(local_path, "rb") as fp:
^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpde5_40b6.png'
i get the permission error , again and again even after i tried to run it as administrator .
The text was updated successfully, but these errors were encountered: