diff --git a/modules/deeplearning/srcnn_cld_frac.py b/modules/deeplearning/srcnn_cld_frac.py index b5dc81f03eb19259441e8201da4e03d04160fbd3..0d492afa3231d63317397f359cc89ab0680fd8f0 100644 --- a/modules/deeplearning/srcnn_cld_frac.py +++ b/modules/deeplearning/srcnn_cld_frac.py @@ -139,7 +139,7 @@ def upsample(tmp): def upsample_mean(grd): bsize, ylen, xlen = grd.shape grd = get_grid_cell_mean(grd) - up = np.zeros(bsize, ylen, xlen) + up = np.zeros((bsize, ylen, xlen)) up[:, ::2, ::2] = grd[:, :, :] up[:, 1::2, ::1] = grd[:, :, :]