alibaba / graph-learn

An Industrial Graph Neural Network Framework
Apache License 2.0
1.28k stars 267 forks source link

gcn 报错 #194

Closed tianrking closed 2 years ago

tianrking commented 2 years ago

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'

baoleai commented 2 years ago

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.

tianrking commented 2 years ago

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

baoleai commented 2 years ago

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