Comments (3)
@wenhao-gao
Hi Wenhao, did you address the previous problem?
Now, the problem becomes object has no attribute '__slices__'
, which happens around lines 69-71 in model_block.py.
stem_block_batch_idx = (
torch.tensor(graph_data.__slices__['x'], device=out.device)[graph_data.stems_batch]
+ graph_data.stems[:, 0]
)
from gflownet.
Hi Dong, my problem was the version of PyG. The author provided the following packages slightly different but works:
torch 1.8.0
torch-cluster 1.5.9
torch-geometric 1.6.3
torch-scatter 2.0.6
torch-sparse 0.6.9
torch-spline-conv 1.2.1
Hope it helps!
from gflownet.
Hi Wenhao, thanks for your message. I totally ignored the version issue. For the latest torch-geometric, I fixed it using the following code:
stem_block_batch_idx = (
torch.tensor(graph_data._slice_dict['x'], device=out.device)[graph_data.stems_batch]
+ graph_data.stems[:, 0]
)
from gflownet.
Related Issues (17)
- version incompatibility causing errors HOT 1
- Clarification for similarity measures HOT 2
- Generated Docking Candidates HOT 1
- Error in Comment Line
- help with running gflownet.py HOT 1
- About the implementation of advantage function in PPO Agent
- About handling parent molecules in samples list
- Difficult to reproduce results listed in the paper HOT 1
- seh_chembl.csv HOT 4
- Want to know the detailed preparation process of dataset HOT 2
- Potential bug with `FlowNetAgent.sample_many` HOT 1
- Could you explain the meaning of data block_r? HOT 2
- Reward signal for grid environment? HOT 1
- Do you have the evaluation code? HOT 7
- About Reproducibility Issues HOT 2
- Clarification regarding the number of molecular building blocks. Why they are different from JT-VAE? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gflownet.