Attentive FP model not recognised in local machine

Hi
I tried implementing Attentive FP model in colab and it worked. But it was very slow. So I tried the same in a local machine with same version of deepchem installed as in colab, but it gave an attribute error saying dc.models does not have an attribute Attentive FP.
Could anyone help me in figuring out the exact problem?
Thanks.

Hi Roshan,
Could you confirm if you are using the latest version of deepchem 2.5.0? If yes, could you also share the code and error message.

Also, did you try running those models on Google Collab using GPU?

Sorry…I hadn’t installed pytorch. As the model was using torch backend, it was giving that error. So I just installed torch using pip and the issue was resolved.
Thanks for the reply!

1 Like