Skip to content
Snippets Groups Projects
Commit 3c1efaf2 authored by tomrink's avatar tomrink
Browse files

snapshot..

parent d9b2055e
Branches
Tags
No related merge requests found
...@@ -580,15 +580,6 @@ class ESPCN: ...@@ -580,15 +580,6 @@ class ESPCN:
self.writer_valid.close() self.writer_valid.close()
self.writer_train_valid_loss.close() self.writer_train_valid_loss.close()
if self.h5f_l1b_trn is not None:
self.h5f_l1b_trn.close()
if self.h5f_l1b_tst is not None:
self.h5f_l1b_tst.close()
if self.h5f_l2_trn is not None:
self.h5f_l2_trn.close()
if self.h5f_l2_tst is not None:
self.h5f_l2_tst.close()
# f = open(home_dir+'/best_stats_'+now+'.pkl', 'wb') # f = open(home_dir+'/best_stats_'+now+'.pkl', 'wb')
# pickle.dump((best_test_loss, best_test_acc, best_test_recall, best_test_precision, best_test_auc, best_test_f1, best_test_mcc), f) # pickle.dump((best_test_loss, best_test_acc, best_test_recall, best_test_precision, best_test_auc, best_test_f1, best_test_mcc), f)
# f.close() # f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment