Skip to content
Browse files

Temporarily disable tqdm in exporting data.

Tests passed on local Mac setup but fails in both Linux and Windows
remote machines.
  • Loading branch information...
lijunzh committed Nov 2, 2019
1 parent 92025e0 commit d9b92cef5a1fdd2269b8e9980f1762af007001ae
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/yews/datasets/
@@ -101,12 +101,15 @@ def export_dataset(self, path):
ft = create_npy(path / 'targets.npy', targets_shape, targets_dtype)

# populate memmap numpy array
for i in tqdm(range(self.__len__())):
for i in range(self.__len__()):
# add one item in the dataset
data_point = self[i]
fs[i] = data_point[0]
ft[i] = data_point[1]

if (i % 100):
print(f"Exporting {i} / {self.__len__()}")

del fs
del ft

0 comments on commit d9b92ce

Please sign in to comment.
You can’t perform that action at this time.