AttentiveFP model not working on local machine

Hi I’m trying to implement the AttentiveFP model but I’m getting the following error

AttributeError: module ‘dgl.function’ has no attribute ‘copy_edge’

I believe I have installed the required dependencies. I’m running it in a virtual environment using python 3.8.10.

Does anybody know whats going on?


1 Like


I puzzled over issue this evening. It turns out the copy_edge function is omitted or renamed in version 1.0 of the dgl package.

Using %pip install dgl==0.9

will resolve this issue.

Thank you

1 Like