Giter Site home page Giter Site logo

nu-cucis / localizationdl Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 566 KB

A Deep Learning Model For Localization of Two-Phase High-Contrast Three-dimensional Materials

License: Other

Python 100.00%
convolutional-neural-networks materials-informatics localization structure-property-linkages

localizationdl's Introduction

Deep learning for localization of two phase high contrast three-dimensional material

LocalizationDL is an deep learning application for modeling localization linkages for two phase high contrast three-dimensional material. It’s a feature-engineering-free framework, which directly takes raw data as input, and trains a convolutional neural network (CNN).

To use this software, what the algorithm requires as input are a numpy array. The shape of this numpy array is (x, 11, 11, 11) where x is the number of focal voxels and the dimension of microstructure centered at focal voxels should be three-dimensional (i.e. 11x11x11). The software will take the row data as input, and train the predictive model. The detailed drscription about data preprocessing and model can be found in the published paper given below.

Requirements

  • Python 3.6.3;
  • Numpy 1.18.1;
  • Sklearn 0.20.0;
  • Keras 2.3.1;
  • Pickle 4.0;
  • TensorFlow 2.1.0;
  • h5py 2.9.0;

Files

  1. contrast10_localization.py: The script to train CNN for contrast 10 dataset, and save the model in 'my_model.h5' file.
  2. contrast50_localization.py: The script to train CNN for contrast 50 dataset, and save the model in 'my_model.h5' file.
  3. sample_data.pkl: Example data for contrast10 dataset, including 10 21x21x21 3D microstructure.
  4. sample_data50.pkl: Example data for contrast50 dataset, including 10 21x21x21 3D microstructure.

How to run it

  1. Run commend below, which trains the CNN model for contrast 10 dataset and save the trained model in 'my_model.h5' file.
    python contrast10_localization.py
    
  2. Run commend below, which trains the CNN model for contrast 50 dataset and save the trained model in 'my_model.h5' file.
    python contrast50_localization.py
    

Acknowledgement

This work is supported in part by the following grants: AFOSR award FA9550-12-1-0458; NIST award 70NANB14H012; NSF award CCF-1409601; DOE awards DESC0007456, DE-SC0014330; and Northwestern Data Science Initiative.

Related Publications

Z. Yang, Y. C. Yabansu, D. Jha, W.-keng Liao, A. N. Choudhary, S. R. Kalidindi, and A. Agrawal, “Establishing structure-property localization linkages for elastic deformation of three-dimensional high contrast composites using deep learning approaches,” Acta Materialia, vol. 166, pp. 335–345, 2019.

Contact

Zijiang Yang ([email protected]); Ankit Agrawal ([email protected]); Alok Choudhary ([email protected]);

localizationdl's People

Contributors

ankitag-github avatar zyz293 avatar

Watchers

 avatar  avatar  avatar

Forkers

itzme-jp

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.