Running on my own ZEROGPU not working

#33
by deeduckme - opened

the cache file is not created -

Sampling: 0%| | 0/12 [00:00<?, ?it/s]
Sampling: 42%|โ–ˆโ–ˆโ–ˆโ–ˆโ– | 5/12 [00:01<00:01, 4.30it/s]
Sampling: 83%|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Ž | 10/12 [00:02<00:00, 4.60it/s]
Sampling: 100%|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 12/12 [00:02<00:00, 4.99it/s]

Sampling: 0%| | 0/12 [00:00<?, ?it/s]
Sampling: 33%|โ–ˆโ–ˆโ–ˆโ–Ž | 4/12 [00:01<00:02, 3.81it/s]
Sampling: 75%|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Œ | 9/12 [00:02<00:00, 4.23it/s]
Sampling: 100%|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 12/12 [00:02<00:00, 4.71it/s]

Rendering: 0it [00:00, ?it/s]
Rendering: 120it [00:00, 134.19it/s]

Rendering: 0it [00:00, ?it/s]
Rendering: 108it [00:01, 107.34it/s]
Rendering: 120it [00:01, 108.90it/s]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 256, in thread_wrapper
res = future.result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/user/app/app.py", line 177, in image_to_3d
imageio.mimsave(video_path, video, fps=15)
File "/usr/local/lib/python3.10/site-packages/imageio/v2.py", line 494, in mimwrite
with imopen(uri, "wI", **imopen_args) as file:
File "/usr/local/lib/python3.10/site-packages/imageio/core/imopen.py", line 113, in imopen
request = Request(uri, io_mode, format_hint=format_hint, extension=extension)
File "/usr/local/lib/python3.10/site-packages/imageio/core/request.py", line 248, in init
self._parse_uri(uri)
File "/usr/local/lib/python3.10/site-packages/imageio/core/request.py", line 413, in _parse_uri
raise FileNotFoundError("The directory %r does not exist" % dn)
FileNotFoundError: The directory '/home/user/app/tmp/e5eb7e13-84c1-4ec1-b1d6-8736c16909f0' does not exist
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1935, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1005, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 214, in gradio_handler
raise res.value
FileNotFoundError: The directory '/home/user/app/tmp/e5eb7e13-84c1-4ec1-b1d6-8736c16909f0' does not exist

it is working now no problem thanks

no it's not ! can you fix ?

Sign up or log in to comment