Added the network screenshot feature at the end of training