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

snapshot...

parent 6929b747
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ class CNN: ...@@ -314,7 +314,7 @@ class CNN:
def get_label_data(self, grd_k): def get_label_data(self, grd_k):
num, leny, lenx = grd_k.shape num, leny, lenx = grd_k.shape
grd_down_2x = np.zeros((num, leny, lenx)) grd_down_2x = np.zeros((num, leny, lenx))
for t in range(len(num)): for t in range(num):
for j in range(int(leny / 2)): for j in range(int(leny / 2)):
for i in range(int(lenx / 2)): for i in range(int(lenx / 2)):
cell = grd_k[t, j:j + 2, i:i + 2] cell = grd_k[t, j:j + 2, i:i + 2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment