Pass val_loss

Pass val_loss from test network to train network by dump the value as
binary file