Skip to content
Snippets Groups Projects
Unverified Commit ee95daff authored by Alexandru-Mihai GHERGHESCU's avatar Alexandru-Mihai GHERGHESCU
Browse files

Correctly display dataset samples

This takes into account endlines too. Just a visual accuracy change.
parent f7b83738
No related branches found
No related tags found
1 merge request!9Fix datasets memory issues
......@@ -126,5 +126,5 @@ if __name__=='__main__':
print(f"Sample for '{split}' split:")
data_loader = DataLoader(dataset, batch_size=1, shuffle=True)
for data in data_loader:
print(data)
print(''.join(data))
break
......@@ -116,5 +116,5 @@ if __name__=='__main__':
print(f"Sample for '{split}' split:")
data_loader = DataLoader(dataset, batch_size=1, shuffle=True)
for data in data_loader:
print(data)
print(''.join(data))
break
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment