Closed popfido closed 3 years ago
Yes. Due to limited bandwidth, we do not plan to support TF.
I am having a similar problem. I'm using pytorch backend to import dgllife but I get this error "ModuleNotFoundError: No module named 'dgl.nn.functional'". How can I fix this.
I am having a similar problem. I'm using pytorch backend to import dgllife but I get this error "ModuleNotFoundError: No module named 'dgl.nn.functional'". How can I fix this.
You need to update DGL to 0.6.x.
After I updated DGL to 0.6.1 using conda, the error has changed to "ImportError: cannot import name 'smiles_to_graph' from 'dgllife.utils' " as shown below.
Below is the code I'm tryna execute:
After I updated DGL to 0.6.1 using conda, the error has changed to "ImportError: cannot import name 'smiles_to_graph' from 'dgllife.utils' " as shown below.
Below is the code I'm tryna execute:
You need to change smiles_to_graph
to smiles_to_bigraph
.
Thank you! It worked
How do I access only the number of edges in the graph? I used g[1] but I get an error. Below is how it appear when I print the graph (g). The second attribute is the number of edges.
How do I access only the number of edges in the graph? I used g[1] but I get an error. Below is how it appear when I print the graph (g). The second attribute is the number of edges.
You can use g.num_edges()
. See also the API reference for DGL.
Hi I'm having this issue with SMILES parse error. I'm trying to generate molecules from smiles with the attached generate function but I get the "SMILES parse error" in the terminal when I call the function. How can I fix this issue?
These appear to be issues related to RDKit so you should open an issue there. If you have further issues, please open a new thread as they are irrelevant to this thread.
I'm using tensorflow as dgl backend in my local macbook since apple release its Metal-accelerated version of tensorflow. But it seems that the dgl-lifesci does not support tensorflow backend when I import dgllife.
So dgllife currently only support pytorch as backend engine and did not intend to be prepared in 0.3 roadmap?