Skip to content
Snippets Groups Projects
Commit 86529ca9 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c6dcae99
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ import tensorflow as tf ...@@ -3,7 +3,7 @@ import tensorflow as tf
import util.util import util.util
from util.setup import logdir, modeldir, now, ancillary_path from util.setup import logdir, modeldir, now, ancillary_path
from util.util import EarlyStop, normalize, get_grid_values_all from util.util import EarlyStop, normalize, denormalize, get_grid_values_all
import os, datetime import os, datetime
import numpy as np import numpy as np
import pickle import pickle
...@@ -795,7 +795,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): ...@@ -795,7 +795,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
cld_frac = probs.argmax(axis=3) cld_frac = probs.argmax(axis=3)
if out_file is not None: if out_file is not None:
np.save(out_file, (cld_frac[0, :, :], bt, refl_avg, cp)) np.save(out_file, (cld_frac[0, :, :], denormalize(bt, 'temp_11_0um_nom', mean_std_dct), denormalize(refl_avg, 'refl_0_65um_nom', mean_std_dct), cp))
else: else:
return cld_frac[0, :, :], bt, refl_avg, cp return cld_frac[0, :, :], bt, refl_avg, cp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment