DeepLearnPhysics / lartpc_mlreco3d

9 stars 32 forks source link

Added support for running analysis tools on lite files #200

Open dkoh0207 opened 4 months ago

dkoh0207 commented 4 months ago

This push allows users to run analysis tools on lite files. You have to set the is_lite flag to True:

analysis:
  iteration: -1
  profile: True
  log_dir: $SOME_PATH_TO_LITE_FILES
  data_builders:
    - ParticleBuilder
    - InteractionBuilder
  convert_to_cm: False
  is_lite: True

This commit also fixes a bug in analysis tools, where in some places during loading representations, it implicitly assumed a batch size of one.