Graph-Learning-Benchmarks/gli

[BUG] training fails when early stopping is set to false

Closed this issue · 0 comments

As titled.

To Reproduce
set early_stopping in train_default.yaml to be false.

error message:

Traceback (most recent call last):
  File "/Users/jinhuang/Documents/research/gli/benchmarks/NodeClassification/train.py", line 182, in <module>
    main()
  File "/Users/jinhuang/Documents/research/gli/benchmarks/NodeClassification/train.py", line 177, in main
    val_acc = stopper.best_score
UnboundLocalError: local variable 'stopper' referenced before assignment