Error message:
Traceback (most recent call last):
File "main.py", line 53, in
result = train(args, data, logger)
File "/home/ubuntu/project/graph-clustering/A-Unified-Framework/model/SDCN/train.py", line 78, in train
result = Result(embedding=embedding, max_acc_corresponding_metrics=max_acc_corresponding_metrics)
TypeError: init() got an unexpected keyword argument 'max_acc_corresponding_metrics'
Solution:
in /utils/result.py
change acc_max_corresponding_metrics to max_acc_corresponding_metrics
Thanks for pointing out the problem! We also found the problem several days ago, but due to our negligence, we forgot to upload the changed code. We have fixed this problem. Thanks again!
Error message: Traceback (most recent call last): File "main.py", line 53, in
result = train(args, data, logger)
File "/home/ubuntu/project/graph-clustering/A-Unified-Framework/model/SDCN/train.py", line 78, in train
result = Result(embedding=embedding, max_acc_corresponding_metrics=max_acc_corresponding_metrics)
TypeError: init() got an unexpected keyword argument 'max_acc_corresponding_metrics'
Solution: in /utils/result.py change
acc_max_corresponding_metrics
tomax_acc_corresponding_metrics