Marigoldwu / A-Unified-Framework-for-Deep-Attribute-Graph-Clustering

This project is a scalable unified framework for deep graph clustering.
https://www.marigold.website/readArticle?workId=145&author=Marigold&authorId=1000001
MIT License
100 stars 12 forks source link

TypeError: __init__() got an unexpected keyword argument 'max_acc_corresponding_metrics' #2

Closed bryanzhang1024 closed 1 year ago

bryanzhang1024 commented 1 year ago

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

Marigoldwu commented 1 year ago

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!