You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When run on pytorch '1.10.2+cu102' I get following error:
Traceback (most recent call last):
File "/code_transformer/preprocessing/graph/transform.py", line 30, in __call__
distance_matrix = distance_metric(adj)
File "/code_transformer/preprocessing/graph/distances.py", line 76, in __call__
sp_length = all_pairs_shortest_paths(G=G)
File "/code_transformer/preprocessing/graph/alg.py", line 45, in all_pairs_shortest_paths
values = torch.tensor([(dct[0], key, value) for dct in sps for key, value in dct[1].items()],
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered:
When run on pytorch '1.10.2+cu102' I get following error:
The text was updated successfully, but these errors were encountered: