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
Generating results for MUTAG...
Generating discrete embeddings for MUTAG.
/home/cma/anaconda3/lib/python3.9/site-packages/numpy/lib/npyio.py:528: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
arr = np.asanyarray(arr)
Embeddings for MUTAG computed, saved to output/MUTAG/MUTAG_wl_discrete_embeddings_h2.npy.
Computing the Wasserstein distances...
Traceback (most recent call last):
File "/home/cma/Documents/WWL-master/experiments/main.py", line 180, in
main()
File "/home/cma/Documents/WWL-master/experiments/main.py", line 65, in main
wasserstein_distances = compute_wasserstein_distance(label_sequences, h, sinkhorn=sinkhorn,
File "/home/cma/Documents/WWL-master/experiments/wwl.py", line 192, in compute_wasserstein_distance
costs = ot.dist(labels_1, labels_2, metric=ground_distance)
File "/home/cma/anaconda3/lib/python3.9/site-packages/ot/utils.py", line 237, in dist
return cdist(x1, x2, metric=metric, w=w)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 2929, in cdist
return cdist_fn(XA, XB, out=out, **kwargs)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 1673, in call
XA, XB, typ, kwargs = _validate_cdist_input(
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 205, in _validate_cdist_input
kwargs = _validate_kwargs((XA, XB), mA + mB, n, **kwargs)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 225, in _validate_hamming_kwargs
if w.ndim != 1 or w.shape[0] != n:
AttributeError: 'NoneType' object has no attribute 'ndim'
The text was updated successfully, but these errors were encountered:
$python main.py --dataset MUTAG
Generating results for MUTAG...
Generating discrete embeddings for MUTAG.
/home/cma/anaconda3/lib/python3.9/site-packages/numpy/lib/npyio.py:528: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
arr = np.asanyarray(arr)
Embeddings for MUTAG computed, saved to output/MUTAG/MUTAG_wl_discrete_embeddings_h2.npy.
Computing the Wasserstein distances...
Traceback (most recent call last):
File "/home/cma/Documents/WWL-master/experiments/main.py", line 180, in
main()
File "/home/cma/Documents/WWL-master/experiments/main.py", line 65, in main
wasserstein_distances = compute_wasserstein_distance(label_sequences, h, sinkhorn=sinkhorn,
File "/home/cma/Documents/WWL-master/experiments/wwl.py", line 192, in compute_wasserstein_distance
costs = ot.dist(labels_1, labels_2, metric=ground_distance)
File "/home/cma/anaconda3/lib/python3.9/site-packages/ot/utils.py", line 237, in dist
return cdist(x1, x2, metric=metric, w=w)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 2929, in cdist
return cdist_fn(XA, XB, out=out, **kwargs)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 1673, in call
XA, XB, typ, kwargs = _validate_cdist_input(
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 205, in _validate_cdist_input
kwargs = _validate_kwargs((XA, XB), mA + mB, n, **kwargs)
File "/home/cma/anaconda3/lib/python3.9/site-packages/scipy/spatial/distance.py", line 225, in _validate_hamming_kwargs
if w.ndim != 1 or w.shape[0] != n:
AttributeError: 'NoneType' object has no attribute 'ndim'
The text was updated successfully, but these errors were encountered: