Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:22:36

0001 """
0002 ** setup **
0003 creates necessary folders
0004 """
0005 
0006 import os
0007 
0008 from core.constants import INIT_DIR, GLOBAL_CHECKPOINT_DIR, CONV_DIR, VALID_DIR, GEN_DIR
0009 
0010 for folder in [INIT_DIR,  # Directory to load the full simulation dataset
0011                GLOBAL_CHECKPOINT_DIR,  # Directory to save VAE checkpoints
0012                CONV_DIR,  # Directory to save model after conversion to a format that can be used in C++
0013                VALID_DIR,  # Directory to save validation plots
0014                GEN_DIR,  # Directory to save VAE generated showers
0015                ]:
0016     os.system(f"mkdir {folder}")