aimclub / StableGNN

Framework for autonomous learning of explainable graph neural networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graph_classification example error: TypeError: unsupported format string passed to Tensor.__format__

andreygetmanov opened this issue · comments

При запуске падает с сообщением:

Traceback (most recent call last):
File "C:\Users\andre\PycharmProjects\StableGNN\tutorials\graph_classification.py", line 46, in
model, train_acc_mi, train_acc_ma, test_acc_mi, test_acc_ma = model_training.run(best_values)
File "C:\Users\andre\PycharmProjects\StableGNN\stable_gnn\pipelines\graph_classification_pipeline.py", line 169, in run
"Loss: {:.4f}, Epoch: {:03d}, train acc micro: {:.4f}, train acc macro: {:.4f}, test acc micro: {:.4f}, test acc macro: {:.4f}".format(
File "C:\Users\andre\PycharmProjects\StableGNN\venv\lib\site-packages\torch_tensor.py", line 660, in format
return object.format(self, format_spec)
TypeError: unsupported format string passed to Tensor.format