Skip to content

Commit 0702db8

Browse files
committed
zip -> list(zip) should be. Fixing typo
1 parent 00a9566 commit 0702db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plasma/models/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def arange_patches(self,sig_patches,res_patches):
306306
num_batches = len(sig_patches) // batch_size
307307
#patch_length = len(sig_patches[0])
308308

309-
zipped = len(zip(sig_patches,res_patches))
309+
zipped = list(zip(sig_patches,res_patches))
310310
np.random.shuffle(zipped)
311311
sig_patches, res_patches = zip(*zipped)
312312
X_list = []

0 commit comments

Comments
 (0)