Skip to content

Conversation

NeoLegends
Copy link
Member

The dataset implementation joins some (potentially empty) paths, sometimes leading to double slashes in the resulting paths. This can break lookup in the zip file, even though there is a file at that path. By normalizing // to / the file can be read from the archive properly. On normal file systems this usually isn't a problem, because they also do this.

The dataset implementation joins some paths wrongly at times, leading to double slashes breaking lookup in the zip file, even though there is a file at that path. By normalizing // to / the file can be read properly.
@NeoLegends NeoLegends self-assigned this Sep 10, 2024
@NeoLegends NeoLegends requested review from a team and albertz as code owners September 10, 2024 13:54
@albertz
Copy link
Member

albertz commented Sep 10, 2024

This sounds like a bug in the dataset preparation pipeline?

And there are also much more cases how it could be wrong, e.g. having /// in it, or having .. in it, or whatever else. And I'm not sure to what degree we should add workarounds on RETURNN side just because you don't want to fix the bug in the dataset preparation pipeline?

@albertz
Copy link
Member

albertz commented Oct 12, 2024

What is the status here? Was this just a bug in the dataset preparation pipeline, as I assumed? So then just fix the dataset preparation pipeline, and this here is not needed?

@albertz
Copy link
Member

albertz commented Jun 3, 2025

Why is this still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants