You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./graphgpt/eval/run_graphgpt.py", line 244, in <module>
run_eval(args, args.num_gpus)
File "./graphgpt/eval/run_graphgpt.py", line 98, in run_eval
ans_jsons.extend(ray.get(ans_handle))
File "/root/miniconda3/envs/graphgpt/lib/python3.8/site-packages/ray/_private/auto_init_hook.py", line 24, in auto_init_wrapper
return fn(*args, **kwargs)
File "/root/miniconda3/envs/graphgpt/lib/python3.8/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/root/miniconda3/envs/graphgpt/lib/python3.8/site-packages/ray/_private/worker.py", line 2493, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(AssertionError): ray::eval_model() (pid=2040388, ip=172.16.10.18)
File "/root/miniconda3/envs/graphgpt/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "./graphgpt/eval/run_graphgpt.py", line 120, in eval_model
model = GraphLlamaForCausalLM.from_pretrained(args.model_name, torch_dtype=torch.float16, use_cache=True, low_cpu_mem_usage=True).cuda()
File "/root/miniconda3/envs/graphgpt/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2700, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
File "/root/GraphGPT/graphgpt/model/GraphLlama.py", line 283, in __init__
self.model = GraphLlamaModel(config)
File "/root/GraphGPT/graphgpt/model/GraphLlama.py", line 99, in __init__
clip_graph, args= load_model_pretrained(CLIP, config.pretrain_graph_model_path)
File "/root/GraphGPT/graphgpt/model/GraphLlama.py", line 54, in load_model_pretrained
assert osp.exists(osp.join(pretrain_model_path, 'config.json')), 'config.json missing'
AssertionError: config.json missing
报错内容:
graphgpt_eval.sh参数设置为:
是需要修改/root/GraphGPT/output/stage_2/checkpoint-50000/config.json文件的内容吗?
我修改了其内容为
修改了GraphGPT/output/stage_2/checkpoint-50000/config.json中的"pretrain_graph_model_path",还是报错config.json missing,是应该再修改哪里呢?
The text was updated successfully, but these errors were encountered: