Skip to content

Commit de4e74e

Browse files
committed
yep
1 parent 3d956d1 commit de4e74e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/createtask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def dataset_fn(split, shuffle_files=False):
1414
files_to_read=[os.path.join("gs://"+nq_tsv_path["bucket"],str(filename.name)) for filename in client.list_blobs(nq_tsv_path["bucket"], prefix=nq_tsv_path[split])]
1515
else:
1616
print(os.path.join(nq_tsv_path["bucket"], nq_tsv_path[split]))
17-
files_to_read=[os.path.join(nq_tsv_path["bucket"],str(filename)) for filename in os.listdir(os.path.join(nq_tsv_path["bucket"], nq_tsv_path[split]))]
17+
files_to_read=[os.path.join(nq_tsv_path["bucket"],nq_tsv_path[split],str(filename)) for filename in os.listdir(os.path.join(nq_tsv_path["bucket"], nq_tsv_path[split]))]
1818
print(len(files_to_read))
1919
print(files_to_read[0:10])
2020
ds = tf.data.TextLineDataset(files_to_read, compression_type=nq_tsv_path["compression"]).filter(lambda line:tf.not_equal(tf.strings.length(line),0))

0 commit comments

Comments
 (0)