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

运行出错 #12

Open
ki511 opened this issue Jun 25, 2024 · 0 comments
Open

运行出错 #12

ki511 opened this issue Jun 25, 2024 · 0 comments

Comments

@ki511
Copy link

ki511 commented Jun 25, 2024

您好,我将压缩包(包含上述的文件)解压在本地并不能运行,我运行fit_model文件会报错,会产生以下的错误:
Traceback (most recent call last):
File "F:\PycharmProjects\E-ResGAT-master\fit_model.py", line 180, in
fit(args)
File "F:\PycharmProjects\E-ResGAT-master\fit_model.py", line 40, in fit
edge_feat, label, adj, adj_lists, config = load_gat(path, device, binary)
File "F:\PycharmProjects\E-ResGAT-master\loader.py", line 56, in load_gat
edge_feat = np.load(path + "edge_feat_scaled.npy") # (n,f)
File "D:\Anaconda\envs\TF2.10gpu\lib\site-packages\numpy\lib\npyio.py", line 427, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/Darknetedge_feat_scaled.npy'

然而当我将这个文件edge_feat_scaled.npy重命名为Darknetedge_feat_scaled.npy,会进一步显示报错,datasets/DarknetDarknetedge_feat_scaled.npy

我是在win系统下运行的,numpy,torch以及scikit的版本比您要求的高。
能麻烦您指导下问题所在吗?

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