Skip to content

gokhalen/mlscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlscripts

Scripts to be used in conjunction with FyPy to generate machine learning data, train CNNs, and post_process.

Data generation

python3.8 mlsetup.py --ntrain=10 --nhomo=0 --generate=True --solve=True --nelemx=64 --nelemy=96 --shift=0 --length=1.0 --breadth=1.5 --eltype='linelas2dnumbasri'

See mlsetup.py for explanations of arguments

Running the ML code

python3.8 ml.py --mltype=field --iptype=strainyy --nepochs=64 --mode=train --nimg=2000 --noise=1 --noisetype=none --activation=twisted_tanh --inputscale=global --boundshift=0.25 --featurescale=True

See get_args() in ml/src/argparams.py for explanations of arguments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages