Hello everybody,
What is the most efficient way to log train set and dev set accuracy and loss? Now I use the same function for both sets after training, i.e
for epoch in range(1, N):
    train(epoch)
    evaluate(train_loader)
    evaluate(dev_loader)

I thought that there should be a more concise method.
Thanks,
Anton