Skip to content

Commit e97f251

Browse files
Julian Kates-HarbeckJulian Kates-Harbeck
authored andcommitted
Merge branch 'jdev' of https://github.com/PPPLDeepLearning/plasma-python into jdev
2 parents 8bf886a + 6d25d37 commit e97f251

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plasma/models/mpi_runner.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,11 @@ def mpi_train(conf,shot_list_train,shot_list_validate,loader, callbacks_list=Non
740740
assert(conf['data']['T_min_warn'] == T_min_warn_orig)
741741
if shot_list_test is not None:
742742
_,_,_,roc_area_t,_ = mpi_make_predictions_and_evaluate(conf_curr,shot_list_test,loader)
743-
epoch_logs['test_roc_{}'.format(T_min_curr)] = roc_area_t
743+
print_unique('epoch {}, test_roc_{} = {}'.format(int(round(e)),T_min_curr,roc_area_t))
744+
#epoch_logs['test_roc_{}'.format(T_min_curr)] = roc_area_t
744745
_,_,_,roc_area_v,_ = mpi_make_predictions_and_evaluate(conf_curr,shot_list_validate,loader)
745-
epoch_logs['val_roc_{}'.format(T_min_curr)] = roc_area_v
746+
print_unique('epoch {}, val_roc_{} = {}'.format(int(round(e)),T_min_curr,roc_area_v))
747+
#epoch_logs['val_roc_{}'.format(T_min_curr)] = roc_area_v
746748
epoch_logs['val_roc'] = roc_area
747749
epoch_logs['val_loss'] = loss
748750
epoch_logs['train_loss'] = ave_loss

0 commit comments

Comments
 (0)