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

Add API for writing metadata sidecars #121

Open
akx opened this issue Nov 2, 2023 · 0 comments
Open

Add API for writing metadata sidecars #121

akx opened this issue Nov 2, 2023 · 0 comments

Comments

@akx
Copy link
Member

akx commented Nov 2, 2023

From my valohai/mistral-example#3 notes:

  • no easy way of writing a metadata json for a given named output:
        for file in os.listdir(save_path):
            with open(out.path(f'{file}.metadata.json'), 'w') as outfile:
                json.dump(metadata, outfile)
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

No branches or pull requests

1 participant