[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: error in the number of list #69

Open
wlw-wlw opened this issue May 13, 2024 · 0 comments
Open

ValueError: error in the number of list #69

wlw-wlw opened this issue May 13, 2024 · 0 comments

Comments

@wlw-wlw
Copy link
wlw-wlw commented May 13, 2024

你好,我在使用[Jiabin99]发布的GraphGPT-7B-mix-all用作eval时遇到了报错,报错内容如下

root@autodl-container-8cee4dbe08-5999a9bc:~/autodl-tmp/GraphGPT# bash graphgpt_eval.sh
2024-05-13 17:19:24,186 WARNING utils.py:585 -- Detecting docker specified CPUs. In previous versions of Ray, CPU detection in containers was incorrect. Please ensure that Ray has enough CPUs allocated. As a temporary workaround to revert to the prior behavior, set `RAY_USE_MULTIPROCESSING_CPU_COUNT=1` as an env var before starting Ray. Set the env var: `RAY_DISABLE_DOCKER_CPU_WARNING=1` to mute this warning.
2024-05-13 17:19:24,257 INFO worker.py:1621 -- Started a local Ray instance.
Not shuffle the prompt file!
Traceback (most recent call last):
  File "/root/autodl-tmp/GraphGPT/./graphgpt/eval/run_graphgpt_LP.py", line 317, in <module>
    run_eval(args, args.num_gpus)
  File "/root/autodl-tmp/GraphGPT/./graphgpt/eval/run_graphgpt_LP.py", line 112, in run_eval
    raise ValueError('error in the number of list')
ValueError: error in the number of list

以下时我的graphgpt_eval.sh的内容

output_model=graphgpt/GraphGPT-7B-mix-all
datapath=./graphgpt/data/eval/pubmed_test_instruct_LP.json
graph_data_path=./graphgpt/graph_data/graph_data_all.pt
res_path=./output_stage_2_arxiv_nc
start_id=0
end_id=20567
num_gpus=2
python3 ./graphgpt/eval/run_graphgpt_LP.py --model-name ${output_model}  --prompting_file ${datapath} --graph_data_path ${graph_data_path} --output_res_path ${res_path} --start_id ${start_id} --end_id ${end_id} --num_gpus ${num_gpus}

请问是我的参数设置导致的吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant