graph-learn icon indicating copy to clipboard operation
graph-learn copied to clipboard

gcn 报错

Open tianrking opened this issue 3 years ago • 3 comments

world_size: 1 rank: 0 Traceback (most recent call last): File "train.py", line 228, in run(args) File "train.py", line 151, in run g.init(task_index=args.rank, hosts=thg.get_cluster_spec()) AttributeError: module 'graphlearn.python.nn.pytorch' has no attribute 'get_cluster_spec'

tianrking avatar Jul 04 '22 14:07 tianrking

Hi, it seems that you use v1.0.1 pip wheel but run example at master branch. We will release v1.1.0(check out from master) asap. For now, you can just checkout branch v1.0.1 or add https://github.com/alibaba/graph-learn/blob/master/graphlearn/python/nn/pytorch/init.py#L17 into your corresponding installed package file.

baoleai avatar Jul 05 '22 02:07 baoleai

thx to ur reply bro , however the issuse is exsit in my env

tianrking avatar Jul 12 '22 09:07 tianrking

Could you provide more details (e.g., your graph-learn version, error log.)

baoleai avatar Jul 12 '22 10:07 baoleai