SpaceLearner / SessionRec-pytorch

Session-based Recommendation
MIT License
60 stars 12 forks source link

类型出错???? #1

Closed lypingk closed 2 years ago

lypingk commented 2 years ago

请问大家有出现这个问题吗? dgl._ffi.base.DGLError: Expect all graphs to have the same schema on nodes["s2"].data, but graph 1 got {'iid': Scheme(shape=(2,), dtype=torch.int32), 'last': Scheme(shape=(), dtype=torch.int32)} which is different from {'iid': Scheme(shape=(2,), dtype=torch.int64), 'last': Scheme(shape=(), dtype=torch.int32)}.

better46 commented 2 years ago

Yes,I have also meet this question. image

SpaceLearner commented 2 years ago

I haven't met this issue, could you please check whether the environment aligns with the recommended environment?

better46 commented 2 years ago

Yes,thanks.I find the version of dgl is different with yours.