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

error happened #1

Closed
bug65536 opened this issue Mar 16, 2021 · 0 comments
Closed

error happened #1

bug65536 opened this issue Mar 16, 2021 · 0 comments

Comments

@bug65536
Copy link

hi, when i run python src/main.py

error happened

`Basic node level feature extraction and induced subgraph creation started.

0%| | 0/3892 [00:00<?, ?it/s]
Traceback (most recent call last):
File "src/main.py", line 13, in
create_and_run_model(args)
File "src/main.py", line 8, in create_and_run_model
model = ROLX(args)
File "/data/RolX-master/src/rolx.py", line 27, in init
self.recurser = RecursiveExtractor(args)
File "/data/RolX-master/src/refex.py", line 59, in init
self.create_features()
File "/data/RolX-master/src/refex.py", line 110, in create_features
self.basic_stat_extractor()
File "/data/RolX-master/src/refex.py", line 65, in basic_stat_extractor
sub_g, overall_counts, nebs = inducer(self.graph, node)
File "/data/RolX-master/src/refex.py", line 17, in inducer
sub_nodes = nebs + [node]
TypeError: unsupported operand type(s) for +: 'dictionary-keyiterator' and 'list'
`

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