Model training log

Hi,

I am training a model by using rasa.train in Jupyter.

Is there a way to log the progress output to a file? Currently the progress is visible in the Jupyter UI.

Regards,

a sort of solution is:

import logging

logging.basicConfig(filename=‘file.log’, filemode=‘w’,)
logging.captureWarnings(True)

Since you’re using Jupyter, probably the easiest way to is use the %capture magic, which will save the output using a variable name you provide. From there you can save/print/manipulate as you like.:slight_smile:

Thanks. This should do the job.

1 Like