Skip to content

TypeError: train_epoch() missing 3 required positional arguments: 'targets', 'smiles', and 'names'" #2

Description

@doollar123

when I run the "$ python Seed_Tuning.py ",there are some errors:
"Loading saved dgl graphs ...
Epoch 0: 0%| | 0/300 [00:00<?, ?it/s]
Traceback (most recent call last):
File "E:/gitub/GC-GNN/Seed_Tuning.py", line 106, in
model, epoch_train_loss, epoch_train_metrics = train_epoch(model, optimizer, scaling, train_loader, n_param)
TypeError: train_epoch() missing 3 required positional arguments: 'targets', 'smiles', and 'names'"

how can I sove it, please help me! thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions