Skip to content
Snippets Groups Projects
Commit 05b02b6b authored by tomrink's avatar tomrink
Browse files

snapshot...

parent f57ba6a5
Branches
No related tags found
No related merge requests found
...@@ -359,7 +359,12 @@ class IcingIntensityFCN: ...@@ -359,7 +359,12 @@ class IcingIntensityFCN:
nda[np.logical_and(nda >= 6000, nda < 8000)] = 3 nda[np.logical_and(nda >= 6000, nda < 8000)] = 3
nda[np.logical_and(nda >= 8000, nda < 15000)] = 4 nda[np.logical_and(nda >= 8000, nda < 15000)] = 4
# nda[np.logical_and(nda >= 0, nda < 2000)] = 0
# nda[np.logical_and(nda >= 2000, nda < 8000)] = 1
# nda[np.logical_and(nda >= 8000, nda < 15000)] = 2
nda = tf.one_hot(nda, 5).numpy() nda = tf.one_hot(nda, 5).numpy()
# nda = tf.one_hot(nda, 3).numpy()
nda = np.expand_dims(nda, axis=1) nda = np.expand_dims(nda, axis=1)
nda = np.expand_dims(nda, axis=1) nda = np.expand_dims(nda, axis=1)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment