lfwa / carbontracker

Track and predict the energy consumption and carbon footprint of training deep learning models.
MIT License
352 stars 26 forks source link

Parsing of log directory fails if mismatch in standard and output logs #66

Open raghavian opened 4 months ago

raghavian commented 4 months ago

If the number of standard and output logs are different, the parsing of the log directory fails. Fix is to split filename here based on a different string:


        op_fn = [f.split("_carbontracker")[0] for f in output_logs]
        std_fn = [f.split("_carbontracker")[0] for f in std_logs]