tgn icon indicating copy to clipboard operation
tgn copied to clipboard

TypeError: Population must be a sequence.

Open gloriadesideri opened this issue 5 months ago • 1 comments

When running the code with a non-bipartite graph I have encountered this error for line 81 of the data_preprocessing.py file. This can be solved by replacing the line with new_test_node_set = set(random.sample(sorted(test_node_set), int(0.1 * n_total_unique_nodes))) Hope this helps

gloriadesideri avatar Sep 24 '24 21:09 gloriadesideri