ExoGAN retrieval
Running ExoGAN retrieval
After training ExoGAN it returns a detailed atmospheric analysis from an input spectrum. To run an ExoGAN retrieval, run the command:
python gan.py --predict --checkpointDir checkpoint_test --maskType parameters
with
--checkpointDir = the checkpoint directory from the previous training, the default is checkpoint_test;
--outDir = output directory, the default is exogan_output
--maskType = the type of mask for which ExoGAN applies the inpainting algorithm, the default is 'parameters'
There are more flags which are listed in the gan.py.
The ExoGAN analysis
ExoGAN’s analysis is located in the output directory specified with the --outDir flag, the default is exogan_output.
Inside this directory it is possible to find:
- Input spectrum converted into ASPA;
- The masked input ASPA according to the mask choice;
completedfolder. A set of reconstructed spectra every 100 iteration steps;hats_imgsfolder. The set of hats images every 100 iteration steps;histogramfolder. A view of the ExoGAN prediction every 100 iteration steps;logsfolder. Storage of zhats arrays.predictionsfolder. Tables of retrieved parameters every 100 iteration steps;spectrafolder. Retrieved atospheric models every 100 iteration steps;