pretty print for easier comparisons in trainer.py