Git Product home page Git Product logo

Comments (9)

chc273 avatar chc273 commented on June 15, 2024

@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.

kdmsit avatar kdmsit commented on June 15, 2024

Data is being used from megnet.data.crystal import CrystalGraph it seems !!

from megnet.

chc273 avatar chc273 commented on June 15, 2024

CrystalGraph is just a way to convert your crystal structures (pymatgen Structure objects) into a graph. Please see my previous comment

from megnet.

kdmsit avatar kdmsit commented on June 15, 2024

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.

chc273 avatar chc273 commented on June 15, 2024

@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.

kdmsit avatar kdmsit commented on June 15, 2024

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.

chc273 avatar chc273 commented on June 15, 2024

It really depends on the type of the data, maybe you can try the nfeat_bond 100 and epoch 1000.

from megnet.

kdmsit avatar kdmsit commented on June 15, 2024

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.

chc273 avatar chc273 commented on June 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.