使用dgl包出现dgl._ffi.base.DGLError: Cannot assign node feature “h“ on device cuda:0 to a graph on device
·
使用dgl出现dgl._ffi.base.DGLError: Cannot assign node feature "h" on device cuda:0 to a graph on device cpu. Call DGLGraph.to() to copy the graph to the same device时,目前找到的解决方案就是pip install dgl==0.4.1。对,就是换成0.4.1版本就好了。
更多推荐
所有评论(0)