Skip to content

Error while training - unrecognized arguments #3

@souravidea

Description

@souravidea

from text4gcn.models import Builder as bd
from text4gcn.models import Layer as layer
from text4gcn.models import GNN

gnn = GNN(
dataset="R8",
path="data",
log_dir="log",
layer=layer.GCN,
epoches=200,
dropout=0.5,
val_ratio=0.1,
early_stopping=10,
lr=00.2,
nhid=200,
builder=bd.Embedding
)
gnn.fit()

============================== MODEL CONFIGURATION

usage: ipykernel_launcher.py [-h]
ipykernel_launcher.py: error: unrecognized arguments: -f /root/.local/share/jupyter/runtime/kernel-186e3023-b97b-4c0b-a063-b85b06c09087.json

An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py:3561: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions