Comments (3)
It maybe caused by nan values of target or very large abs errors initially.
- Check your target and see if there is any nan. 2. Make sure the target value is small. You may need to transform your target values, e.g. standardize it or divide it by some values.
from megnet.
My target is float numbers between 1 and 2,
INTENSIVE = True # U0 is an extensive quantity
scaler = StandardScaler.from_training_data(train_structures, train_targets, is_intensive=INTENSIVE)
model.target_scaler = scaler
Isn't this part of the code doing the scaler?By the way, there is no problem when I use megnet simple model. The problem only occurs in megnet full model. Can the notenook of transfer learning give a complete demo?
from megnet.
Without knowing details about your target values and no reproducible codes, I cannot comment much. You may need to scale your input features before putting them to model. Transfer learning example is complete. You just need to train the model the way you train other models after setting the transferred model weights.
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.