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

where is a weight_matrix? and args.graph? #71

Open
jack1Yuanli opened this issue Nov 13, 2024 · 0 comments
Open

where is a weight_matrix? and args.graph? #71

jack1Yuanli opened this issue Nov 13, 2024 · 0 comments

Comments

@jack1Yuanli
Copy link

To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Training configs: Namespace(batch_size=50, epoch=50, graph='D:\Desktop\STGCN_IJCAI-18-master\utils\weight_matrix_file.txt', inf_mode='merge', ks=3, kt=3, lr=0.001, n_his=12, n_pred=9, n_route=10, opt='RMSProp', save=10)
ERROR: input file was not found in D:\Desktop\STGCN_IJCAI-18-master\utils\weight_matrix_file.txt.
Traceback (most recent call last):
File "main.py", line 54, in
W = weight_matrix(pjoin('D:/Desktop/STGCN_IJCAI-18-master/dataset', args.graph))
File "D:\Desktop\STGCN_IJCAI-18-master\utils\math_graph.py", line 86, in weight_matrix
if set(np.unique(W)) == {0, 1}:
UnboundLocalError: local variable 'W' referenced before assignment
1731484442933

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