Comments (1)
I believe this is the place to report updates with issues in the experiments/001_example-ligand-only-graph-subset.py
, please correct me if I'm wrong and I can raise a new issue if needed.
When trying to build and run the mode I'm facing the current issue:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[10], line 8
6 a_dataloader = dataloaders[next(iter(dataloaders.keys()))]["train"]
7 x_sample, _ = next(iter(a_dataloader))
----> 8 MODEL_KWARGS["input_shape"] = ModelCls.estimate_input_shape(x_sample)
10 nn_model = ModelCls(**MODEL_KWARGS)
12 optimizer = import_object(OPTIMIZER)(nn_model.parameters(), **OPTIMIZER_KWARGS)
File ~/workdir/repos/kinoml/kinoml/ml/torch_geometric_models.py:34, in GraphConvolutionNeuralNetwork.estimate_input_shape(input_sample)
31 @staticmethod
32 def estimate_input_shape(input_sample):
33 # Take the first batch [0]
---> 34 return input_sample[0].num_node_features
AttributeError: 'Tensor' object has no attribute 'num_node_features'
Which seems to suggest that it's expecting a torch.geometric.Data
object instead of a Tensor
one.
from experiments-binding-affinity.
Related Issues (13)
- KLIFS binding site
- Can not create environment from environment.yaml HOT 2
- Training tests do not work HOT 1
- Create CI badge in README
- Add CI badge to README
- Composite tests fail
- Tests/examples
- Features missing
- add installation instructions to README
- Models not running HOT 1
- Protect master branch HOT 3
- Issue with testing example for kinoml and experiments-binding-affinity HOT 2
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 experiments-binding-affinity.