-
Notifications
You must be signed in to change notification settings - Fork 64
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
AttributeError: 'str' object has no attribute 'requires_grad_'和config.json missing报错 #61
Comments
可以在clip_gt_arxiv文件夹外再放置一个文件夹pretrained_gnn,然后设置设置.sh文件为pretra_gnn=clip_gt_arxiv,同时将下载vicuna模型中的config.json中的pretrain_graph_model_path参数设置为": "/root/nas/GraphGPT/pretrained_gnn/" |
谢谢,解决了! |
请问这个新建的pretrained_gnn内需要放什么内容么?我按照你的说法改了之后,依然报错AssertionError: config.json missing |
不需要,就是GraphGPT/pretrained_gnn/clip_gt_arxiv, 然后clip_gt_arxiv里面包含clip_gt_arxiv_pub.pkl和config.json |
请问在运行graphgpt_eval.sh时,报错config.json missing,是需要修改stage_2中的config.json指向GraphGPT/pretrained_gnn/吗?我修改了还是报错 |
我想了解一下vicuna的json中添加的pretrain_graph_model_path和graphgpt_stage1中的pretra_gnn是不是指同一个路径?也就是clip_gt_arxiv的路径?按照其他issue提到的做法,我在GraphGPT下直接新建了clip_gt_arxiv文件夹存放模型。
之后运行graphgpt_stage1,但还是提示
AttributeError: 'str' object has no attribute 'requires_grad_'
,此时我的命令是:vicuna中则是:
"pretrain_graph_model_path": "/root/nas/GraphGPT/clip_gt_arxiv"
我若修改为
pretra_gnn=clip_gt_arxiv
,则报错config.json missing
请问我需要怎样配置模型路径来解决这个问题?
The text was updated successfully, but these errors were encountered: