Comments (9)
@kdmsit can you give a minimal example to reproduce your error? From the error, It can be related to the data you use too
from megnet.
Data is being used from megnet.data.crystal import CrystalGraph it seems !!
from megnet.
CrystalGraph is just a way to convert your crystal structures (pymatgen Structure objects) into a graph. Please see my previous comment
from megnet.
I didnot get you. I have not read any data yet.
Crsytal Graph structures (pymatgen Structure objects) I am getting from "from megnet.data.crystal import CrystalGraph". Later that is converted to graph using graph_converter = CrystalGraph(cutoff=r_cutoff).
Then when I am initialising the model by model = MEGNetModel(graph_converter=graph_converter, centers=gaussian_centers, width=gaussian_width), I am getting the error. I am getting this error to initialise the model.
from megnet.
@kdmsit I copied and pasted the code, but it runs fine on my laptop. Please try to update megnet to latest github version and also update tensorflow.
from megnet.
Thanks a lot!!.. it worked. TensorFlow version issue was there.
One more thing I just want to ask. To train it for large data like around 30K what should be the suitable epochs and nfeat_bond ?
from megnet.
It really depends on the type of the data, maybe you can try the nfeat_bond 100 and epoch 1000.
from megnet.
I have run the model for Band-Gap with 20%(7300 Materials) I used to train and rest 80% test (30K). I got around MAE as 1.43. Can you comments on this?
I think this is far more than other baselines?
from megnet.
@kdmsit yes thatβs too high in general, but is possible depending on the data you used. For MP data, this is way too high
from megnet.
Related Issues (20)
- Can MEGNet be made end-to-end differentiable wrt atomic positions of atoms? HOT 8
- import pybel error HOT 1
- Multi-output Regression HOT 4
- could you please provide an example to predict disordered structure? HOT 12
- Multi classification task HOT 5
- installation issue (RDKit and openbabel must be installed) HOT 3
- Might be nice to see MEGNet on matbench HOT 7
- unlockNN module for uncertainty quantification of MEGNet HOT 5
- code in pytorch? HOT 3
- Problem with load molecule data from ase HOT 4
- how does megnet paper address possible data leakage HOT 1
- Return history of the model using .train_from_graphs HOT 1
- Using megnet for systems having atoms apart from "H", "C", "N", "O", "F" HOT 4
- Breaking up a big molecule into two parts; making predictions from graphs of the two separate "molecular" parts
- Unable to understand the shape of the target/output tensor for example in "Customized Graph Network Models"
- List index out of range while training the NN
- Web App HOT 2
- Web App Access HOT 1
- Review request for disordered structure example HOT 2
- ImportError: cannot import name 'ReduceLRUponNan' from 'megnet.callbacks' in multifidelity/train.py
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 megnet.