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

snapshot...

parent b9f49967
No related branches found
No related tags found
No related merge requests found
......@@ -212,8 +212,9 @@ class SRCNN:
noise_scale = 0.005
data_norm = []
for k, param in enumerate(params):
tmp = data[:, k, 3:131:2, 3:131:2]
for param in data_params:
idx = params.index(param)
tmp = data[:, idx, 3:131:2, 3:131:2]
tmp = resample(y_64, x_64, tmp, s, t)
tmp = normalize(tmp, param, mean_std_dct, add_noise=add_noise, noise_scale=noise_scale)
data_norm.append(tmp)
......
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