Description
GINN is running on cpu
DGLError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_16964/379948764.py in
----> 1 imputer = GINN(oh_x_tr,
2 oh_mask_tr,
3 oh_num_mask_tr,
4 oh_cat_mask_tr,
5 oh_cat_cols,
~\Miniconda3\lib\site-packages\ginn\core.py in init(self, features, mask, num_mask, cat_mask, oh_cat_cols, numerical_columns, categorical_columns, embedding_dim, activation, dropout, percentile, distance_metric, weight_missing, graph, skip, glob_attr)
96
97 if graph:
---> 98 g.from_networkx(nxg)
99 if skip:
100 f = dgl.DGLGraph()
~\Miniconda3\lib\site-packages\dgl\heterograph.py in from_networkx(self, nx_graph, node_attrs, edge_attrs)
5690 which will return a new graph created from the networkx graph.
5691 """
-> 5692 raise DGLError('DGLGraph.from_networkx is deprecated. Please call the following\n\n'
5693 '\t dgl.from_networkx(nx_graph, node_attrs, edge_attrs)\n\n'
5694 ', which creates a new DGLGraph from the networkx graph.')
DGLError: DGLGraph.from_networkx is deprecated. Please call the following
dgl.from_networkx(nx_graph, node_attrs, edge_attrs)
, which creates a new DGLGraph from the networkx graph.