Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing checkpoint downloader #174

Merged
merged 12 commits into from
Dec 21, 2021
Merged

Fixing checkpoint downloader #174

merged 12 commits into from
Dec 21, 2021

Conversation

vale-salvatelli
Copy link
Contributor

This PR contains changes to the class CheckpointDownloader to fix a bug with the hierarchies of the downloaded folders.

CHANGELOG.md Outdated Show resolved Hide resolved
@@ -1046,6 +1053,7 @@ def get_run_file_names(run: Run, prefix: str = "") -> List[str]:
:return: A list of paths within the Run's container
"""
all_files = run.get_file_names()
print(f"Selecting files with prefix {prefix}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you leave this print statement in by accident?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I made it a bit nicer and left it on purpose - I found it's useful to know which prefix is used to select among run files

@vale-salvatelli vale-salvatelli merged commit 7902a6e into main Dec 21, 2021
@vale-salvatelli vale-salvatelli deleted the vsalva/fix_download branch December 21, 2021 14:24
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.

3 participants