lululxvi / deep-learning-for-indentation

Extraction of mechanical properties of materials through deep learning from instrumented indentation
Apache License 2.0
55 stars 27 forks source link

How to replicate paper's results #4

Open newalexander opened 3 years ago

newalexander commented 3 years ago

Hello! Could you possibly add to the README instructions on how to replicate the results in your PNAS paper? Also, fit_n.py loads several .dat files that I don't see in src/. Are they available somewhere else?

lululxvi commented 3 years ago

nn.py is the main functions of multi-fidelity neural networks. The code is pretty straight forward, and you might spend some time reading it. see https://github.com/lululxvi/deep-learning-for-indentation/issues/1 for fit_n.py.

Handsome-Zhu commented 3 years ago

Hello! When I run the nn.py, it is shown that AttributeError: module 'deepxde' has no attribute 'apply'. Is it my promble, Or which command take place of the "dde.apply" in the lastest DeepXDE?

lululxvi commented 3 years ago

Use dde.utils.apply