Commit b92ff5c1 authored by Gaëtan Caillaut's avatar Gaëtan Caillaut
Browse files

Add progress bar in function _split

parent 4d9c3db9
......@@ -88,7 +88,7 @@ if __name__ == "__main__":, "wt", encoding="UTF-8") as testfile, \, "rt", encoding="UTF-8") as infile:
itrain, idev, itest = 0, 0, 0
for i, l in enumerate(infile):
for i, l in tqdm(enumerate(infile), total=n):
outfile = None
if itrain < len(train_ids) and train_ids[itrain] == i:
itrain += 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment