Giter Site home page Giter Site logo

imatgen's People

Contributors

amsg-kaist avatar jhwann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

imatgen's Issues

Error in read function from ase.io library

I am getting the below error when I try to run the following lines of code
image

import argparse
from ase.io import read, write
from ase.io import iread
import numpy as np
from ase import Atom, Atoms
parser = argparse.ArgumentParser(description='mapping POSCAR or cif structure into a box image')
parser.add_argument('--input_file', type=str,nargs='+',
help='a file path with the poscar or cif structure')
parser.add_argument('--filetype', type=str,default='cif',
help='filetype : cif,vasp')
parser.add_argument('--nbins', type=int,default=32,
help='number of bins in one dimension')
parser.add_argument('--nproc', type=int,default=1,
help='number of process')
args = parser.parse_args()
inputfile = args.input_file
filetype = args.filetype
print(inputfile)
print(filetype)
atoms = read(inputfile,format = args.filetype, parallel = False)

My command line input is the following
python prog.py --input_file D:\deepak\coding practice\iMatGen-VO_dataset_generated_strctures\VO_dataset\geometries\mp-170_copy1_opt.vasp --file_type vasp --nbins 20 --nproc 1

About MP subset data

@jhwann
Hi, I'm a master student in Japan.
Thank you for sharing codes and data about the iMatGen.
I'm interested in your research and trying to reproduce the result using Pytorch.

When I'm reading the Supplemental Information, I wonder how to get the MP subset data. Especially, I couldn't understand the two constraints in the following sentence.

we trained iMatGen using the MP subset consisting of
28,242 crystal structures taken from the MP database (up to 5 atom types in the unit cell)
satisfying two constraints as mentioned in the main text to obtain pre-trained model parameters
for IC and MG (without formation energy classification task)

What is the two constraints...?
I think the main paper didn't mention about them. I want to know the details about MP subset.

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.