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

The Problem in the GGSNN-GMN Model #40

Open
liaoluoxing opened this issue Jan 29, 2024 · 0 comments
Open

The Problem in the GGSNN-GMN Model #40

liaoluoxing opened this issue Jan 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@liaoluoxing
Copy link

Hello, dear author.
I meet some problem in the Part 2 of GGSNN-GMN(binary_function_similarity/Models
/GGSNN-GMN/).

When i run the command "Example: run the validation on Dataset-1 using the model_checkpoint that we trained on Dataset-1", there are some errors. The following code is the error message:

Traceback (most recent call last):
  File "/code/gnn.py", line 219, in <module>
    main()
  File "/code/gnn.py", line 209, in main
    model_validate(config)
  File "/code/gnn.py", line 110, in model_validate
    gnn_model.model_validate()
  File "/code/core/gnn_model.py", line 289, in model_validate
    self._model_initialize(training_set, is_training=False)
  File "/code/core/gnn_model.py", line 144, in _model_initialize
    self._create_network(batch_generator, is_training=is_training)
  File "/code/core/gnn_model.py", line 119, in _create_network
    node_feature_dim = first_batch_graphs.node_features.shape[-1]
AttributeError: 'tuple' object has no attribute 'node_features'

I suspect that I did some things wrongly. If you can help me, I would be very appreciate. Thank you a lot.

@jimmy-sonny jimmy-sonny self-assigned this May 14, 2024
@jimmy-sonny jimmy-sonny added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants