CyberAgentAILab / TANGO

Official implementation of the paper "TANGO: Co-Speech Gesture Video Reenactment with Hierarchical Audio-Motion Embedding and Diffusion Interpolation"
https://pantomatrix.github.io/TANGO/
Other
356 stars 77 forks source link

I have troubles in this when i test my own character #3

Open qiqi0308 opened 4 weeks ago

qiqi0308 commented 4 weeks ago

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

qiqi0308 commented 4 weeks ago

I find i trying your example is incorrect else,becaues output is the same 1730347136780

PigPigchick commented 5 days ago

I find i trying your example is incorrect else,becaues output is the same 1730347136780

I think i have resolved,you should change the line 571 ,change speaker1.json to speaker7.json or other.



``` yaml_name = os.path.join(SCRIPT_PATH, "datasets/data_json/youtube_test/speaker1.json")
qiqi0308 commented 5 days ago

I find i trying your example is incorrect else,becaues output is the same 1730347136780

I think i have resolved,you should change the line 571 ,change speaker1.json to speaker7.json or other.

``` yaml_name = os.path.join(SCRIPT_PATH, "datasets/data_json/youtube_test/speaker1.json")

thankyou