Skip to content
Snippets Groups Projects
Commit 16521d4e authored by tomrink's avatar tomrink
Browse files

minor...

parent a965e4f5
Branches
No related tags found
No related merge requests found
import tensorflow as tf import tensorflow as tf
from util.setup import logdir, modeldir, cachepath, now, ancillary_path from util.setup import logdir, modeldir, cachepath, now, ancillary_path, home_dir
from util.util import EarlyStop, normalize, make_for_full_domain_predict from util.util import EarlyStop, normalize, make_for_full_domain_predict
from util.geos_nav import get_navigation, get_lon_lat_2d_mesh from util.geos_nav import get_navigation, get_lon_lat_2d_mesh
...@@ -919,7 +919,7 @@ class IcingIntensityFCN: ...@@ -919,7 +919,7 @@ class IcingIntensityFCN:
if self.h5f_l2_tst is not None: if self.h5f_l2_tst is not None:
self.h5f_l2_tst.close() self.h5f_l2_tst.close()
f = open('/home/rink/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