Closed Ripper346 closed 3 years ago
Hi, thanks for the notice! Yeah I think the way I added the normalization in gcn is no longer supported in the newer versions of DGL. For now I would recommend you to use dgl==0.4.2
as specified in requirements.txt
when running these codes, as I'm not sure if I can find a solution to make it also work with newer versions of DGL.
I also encountered this problem, I put graph g on GPU device slove problem.Like file GCN_DGl line 69 self.G = DGLGraph(self.adj).to(self.device)
Hi, I am trying to run your code on python 3.8.8 and newest libraries of DGL on Windows. However, there are a lot of problems with devices.
If I run, for example,
python .\train_AdaEdge.py --dataset cora --gnn gcn --gpu 0
, I geteven if I start with gpu -1. That is on rows 75 and 85 of GCN_dgl.py and if I remove them as you do to device of graph in the constructor, I get
I think that they put a more strict regulation of devices in DGL but I don't really know well the library. Do you plan to update it or I absolutely need to use the versions of requirements file?
I also think that it is a bug that I can't use it without gpu.