After calling trainer.fit
, it seems to be logging a bunch of dictionaries to the console. How do I suppress these from being printed?
I looked into the docs for the trainer class and I can’t find any option to control the verbosity level:
https://lightning.ai/docs/pytorch/stable/common/trainer.html#methods
Hi @AditMeh
These prints come from the user code in LightningModule. Have a look at the implementation of LightningModule, in the mehod validation_step(), and remove the print statements. This can’t be controlled by a a verbosity level, since this is a direct print statement in your code (or your probably running someone else’s code given the question :))
Hope this helps.