Traceback (most recent call last):
File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\blocks.py", line 1935, in process_api
result = await self.call_function(
File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "E:\main_project\TANGO-main\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "E:\main_project\TANGO-main\env\lib\site-packages\anyio_backends_asyncio.py", line 2441, in run_sync_in_worker_thread
return await future
File "E:\main_project\TANGO-main\env\lib\site-packages\anyio_backends_asyncio.py", line 943, in run
result = context.run(func, args)
File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\utils.py", line 826, in wrapper
response = f(args, **kwargs)
File "E:\main_project\TANGO-main\app.py", line 618, in tango
result = test_fn(model, device, 0, cfg.data.test_meta_paths, test_path, cfg, audio_path, create_graph=create_graph)
File "E:\main_project\TANGO-main\app.py", line 179, in test_fn
graph = igraph.Graph.Read_Pickle(fname=pool_path)
File "E:\main_project\TANGO-main\env\lib\site-packages\igraph\io\files.py", line 223, in _construct_graph_from_pickle_file
raise IOError(
OSError: Cannot load file. If fname is a file name, that filename may be incorrect.
i wonder how to solve it and why try your example is correct
my error code for list
Traceback (most recent call last): File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\queueing.py", line 536, in process_events response = await route_utils.call_process_api( File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api output = await app.get_blocks().process_api( File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\blocks.py", line 1935, in process_api result = await self.call_function( File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\blocks.py", line 1520, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "E:\main_project\TANGO-main\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "E:\main_project\TANGO-main\env\lib\site-packages\anyio_backends_asyncio.py", line 2441, in run_sync_in_worker_thread return await future File "E:\main_project\TANGO-main\env\lib\site-packages\anyio_backends_asyncio.py", line 943, in run result = context.run(func, args) File "E:\main_project\TANGO-main\env\lib\site-packages\gradio\utils.py", line 826, in wrapper response = f(args, **kwargs) File "E:\main_project\TANGO-main\app.py", line 618, in tango result = test_fn(model, device, 0, cfg.data.test_meta_paths, test_path, cfg, audio_path, create_graph=create_graph) File "E:\main_project\TANGO-main\app.py", line 179, in test_fn graph = igraph.Graph.Read_Pickle(fname=pool_path) File "E:\main_project\TANGO-main\env\lib\site-packages\igraph\io\files.py", line 223, in _construct_graph_from_pickle_file raise IOError( OSError: Cannot load file. If fname is a file name, that filename may be incorrect.
i wonder how to solve it and why try your example is correct