Paper2Video icon indicating copy to clipboard operation
Paper2Video copied to clipboard

macos and google colab issue

Open neohob opened this issue 1 year ago • 10 comments

macos & colab get same error:

start stage: ['0'] [0] Traceback (most recent call last): File "/Users/neo/Downloads/Paper2Video/src/pipeline_light.py", line 93, in model_config_ll=agent_config_t, model_config_vl=agent_config_v, beamer_temp_name=args.beamer_templete_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Namespace' object has no attribute 'beamer_templete_path'. Did you mean: 'beamer_templete_prompt'?

neohob avatar Oct 16 '25 12:10 neohob

Hi,

I have updated the pipeline_light.py. Pls try again!

Zeyu-Zhu avatar Oct 17 '25 12:10 Zeyu-Zhu

start stage: ['0'] [0] Traceback (most recent call last): File "/Users/neo/Downloads/Paper2Video/src/pipeline_light.py", line 92, in usage_slide, beamer_path = latex_code_gen_upgrade(prompt_path=prompt_path, tex_dir=args.paper_latex_root, beamer_save_path=slide_latex_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/neo/Downloads/Paper2Video/src/slide_code_gen_select_improvement.py", line 47, in latex_code_gen_upgrade with open(prompt_path, 'r', encoding='utf-8') as f_prompt: templete_prompt = f_prompt.read() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/users/zeyuzhu/Paper2Present/P2VAgent/prompts/slide_beamer_prompt.txt'

neohob avatar Oct 18 '25 08:10 neohob

Hi,

I have fixed this problem! Pls try again!

Sry for the inconvenience.

Zeyu-Zhu avatar Oct 20 '25 12:10 Zeyu-Zhu

run on my macos (m4)

start stage: ['0'] [0] Traceback (most recent call last): File "/Users/neo/Downloads/Paper2Video/src/pipeline_light.py", line 92, in usage_slide, beamer_path = latex_code_gen_upgrade(prompt_path=prompt_path, tex_dir=args.paper_latex_root, beamer_save_path=slide_latex_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/neo/Downloads/Paper2Video/src/slide_code_gen_select_improvement.py", line 76, in latex_code_gen_upgrade feedback = compile_tex(beamer_save_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/neo/Downloads/Paper2Video/src/slide_code_gen_select_improvement.py", line 614, in compile_tex result = subprocess.run( ^^^^^^^^^^^^^^^ File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'tectonic'

neohob avatar Oct 21 '25 12:10 neohob

This is because you did not install tectonic, which is a package for compiling latex code. You can try install first with: conda install -c conda-forge tectonic

Zeyu-Zhu avatar Oct 21 '25 12:10 Zeyu-Zhu

Can I use a 4090 graphics card for inference? It seems to be stuck at the moment start stage: ['0'] [0]

GodLinW avatar Oct 21 '25 13:10 GodLinW

"openai.APITImeoutError:Request timed out"Is this error an API issue? Could you please email me so that I can run a demo!! My email is [email protected]

GodLinW avatar Oct 21 '25 13:10 GodLinW

I think it may be due to your network connection.

Zeyu-Zhu avatar Oct 21 '25 14:10 Zeyu-Zhu

我认为这可能是由于您的网络连接。

If the default network structure recommended by my application is 24GB, is it enough? Where should I change the network structure

GodLinW avatar Oct 22 '25 00:10 GodLinW

The GUI Model(UI-Tars) requires the GPU with larger than 24G Memory.

I think you can try to use a smaller GUI model if the Memory is only 24G.

Meanwhile, I'm considering to support our code base with more efficient models for talking-head and cursor generation.

Zeyu-Zhu avatar Oct 22 '25 04:10 Zeyu-Zhu