Skip to content

AngeloLF/Spec2VecWithML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spec2VecWithML

Machine Learning Project, mixing old repositories in one projects:

This repo containt also a folder Spectractor. It's a modified version of original algo here :

Using Making jobs at CCIN2P3

Full pipeline, for create and train few models and compare to Spectractor :

Simulation of datasets :

For create train, valid and some test. Need arguments:

  • nsimu : the size of each dataset
  • type : the type of each dataset, like :
    • train : train dataset
    • valid : valid dataset
    • test : test dataset
    • testot : test "other targets", with unknow target in train
    • testext : test "extension", with a wide range of parameters
    • testgauss : test with gaussian 2D PSF
    • testna : test with 2 moffats PSF, with one not aligned
    • testgaussna : test with 2 gaussians 2D PSF, with one not aligned
  • tel : telescope. Can be give individualy or once for all. Tel available :
    • ctio : Cerro Tololo Inter-American Observatory, Chili
    • stardice : A 40 cm telescope in OHP, France
    • auxtel : The auxialiary telescope of Rubin Observatoire, Chili
  • seed : seed to pick parameters. Can be give individualy or once for all.
python jobAndBots/making_batch.py simu nsimu=16384,2048,1024,1024,1024 type=train,valid,test,testext,testot seed=413 tel=auxtel

For train a model ... tomake

python jobAndBots/making_batch.py training model=SCaM,SotSu loss=chi2,MSE train=16k lr=1e-4,1e-5 tel=auxtel e=500

For apply a model ... tomake / apply_spectractor

python jobAndBots/making_batch.py apply model=SCaM loss=chi2,MSE train=16k lr=1e-4,1e-5,5e-5 tel=auxtel test=gaussianna,stardice
python jobAndBots/making_batch.py apply_spectractor test=gaussianna tel=auxtel ncpu=100

About

Machine Learning Project, mixing 4 old repositories :

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages