Error when running the molecule generation tutorial
See original GitHub issueWhen following the molecule generation tutorial in https://torchdrug.ai/docs/tutorials/generation.html, I got the following error when running the following code to generate with the pretrained GCPNresults = task.generate(num_sample=32, max_resample=5)
.
Here is the error message:
***/torchdrug/data/graph.py", line 1171, in _check_attribute raise ValueError("Expect node attribute
%sto have shape (%d, *), but found %s" % ValueError: Expect node attribute
atom_feature to have shape (64, *), but found torch.Size([32, 18])
Could you kindly check and provide any help?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
On failure modes in molecule generation and optimization
This problem is intensified when using machine learning models as scoring functions, which we show in Section “Failure mechanisms in goal-directed generation”.
Read more >Master your molecule generator 2. Using cRNNs
Small tutorial showing how to use the Deep Drug Coder and a pretrained model to generate novel molecules with pre specified properties.
Read more >Drug Molecule Generation with VAE - Keras
Introduction. In this example, we use a Variational Autoencoder to generate molecules for drug discovery. We use the research papers Automatic ...
Read more >Troubleshooting Cell Ranger -Software - Support
A common preflight failures occurs when bcl2fastq has not been installed. The cellranger mkfastq pipeline will generate the following error if Illumina's ...
Read more >MolecularAI/GraphINVENT: Graph neural networks ... - GitHub
Description. GraphINVENT is a platform for graph-based molecular generation using graph neural networks. GraphINVENT uses a tiered deep neural network ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to run it by downgrading TorchDrug to v0.1.2, but I didn’t have enough time to find out what is the exact issue for v0.1.3. Hope this is helpful!
I believe that this issue should be fixed on current master