How to extract logs from AWS CloudWatch in the correct format.
- Go to CloudWatch
- Click on
Logs Insights
in the left menu - Select the correct log group and time range
- Run the following query:
fields @timestamp, @message | filter @message like /\Q{'loss': \E.*\Q, 'learning_rate': \E.*\Q, 'epoch': \E.*\Q}\E/
- Click on
Export results
and selectCSV
- Save the file as
training-log-events-{MODEL-VARIANT}-DD-MM-YY.csv
in thelogs
folder.