lfwa / carbontracker

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

CLI: Can't pass command line arguments to script #61

Closed lnicola closed 1 year ago

lnicola commented 1 year ago

The command line parsing should take a complete command line and pass the arguments to the user script at https://github.com/lfwa/carbontracker/blob/master/carbontracker/cli.py#L23.

PedramBakh commented 1 year ago

Thanks for bringing this to our attention. We've addressed your points in patch v1.2.1. You can now use the tool with arbitrary commands, like: carbontracker myscript arg1 arg2 --log_dir ./logs.