Progress bar \ log dict items added to outputs in training_epoch_end
🐛 Bug
When running with training_step returning something along this:
return { 'loss':x,
            'some_value_for_epoch_end': y,
            'progress_bar':{'v1':z.mean()}}


you get 'v1' as part of the outputs in epoch end. This is unexpected imo.
Also in case it is:
return { 'loss':x,
            'some_value_for_epoch_end': y,
            'progress_bar':{'some_value_for_epoch_end': z.mean()}}


you get 'some_value_for_epoch_end' = z.mean(), as the values get overwritten.
It originate from file trainer/logging.py
lines 172, 173, where you overwrite the values using progress_bar_outputs + log_outputs