Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S StableGNN
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • itmo-sai-code
  • StableGNN
  • Issues
  • #18

Closed
Open
Created Dec 20, 2022 by Egor Shikov@shikov_egorMaintainer

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

Created by: andreygetmanov

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

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

Assignee
Assign to
Time tracking