Print out energy information in model.py #186
-
I want to print out energy information at line 339-340 in module/models.py by running run_train.py with Mace model in line 245-255 in run_train.py. However, it doesn't print out these information. What should I do to get those information if I don't want to transmit those with return? #line 245-255 in run_train.py #Line 339-340 in models.py
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should use the logger with |
Beta Was this translation helpful? Give feedback.
You should use the logger with
logging.info
instead of print.