Skip to content

Commit

Permalink
added printing for pred_error at test time
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbit721 committed Oct 11, 2020
1 parent 3c48eac commit 9216ba8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions model_arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ def _forward(self, epoch):
self.weighted_mae = total_mean_mae / data_size

if epoch % 50 == 0:
print("test batch R(q): {}, Accumulated Error: "\
"{}, Weighted MAE: {}".format(self.rq,
print("test batch Pred Err: {}, R(q): {}, Accumulated Error: "\
"{}, Weighted MAE: {}".format(self.pred_err,
self.rq,
self.accumulate_err,
self.weighted_mae))

Expand Down

0 comments on commit 9216ba8

Please sign in to comment.