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

Correcting Path of the checkpoint saved changing ":" to "_" #21 #22

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

DrFabach
Copy link
Contributor

@DrFabach DrFabach commented Feb 16, 2024

EDIT by @ghisvail

Closes #21

@ghisvail
Copy link
Contributor

Nice catch, thanks. I believe a greater enhancement would be to use established standards for timestamp representation in the filename, instead of rolling our own.

See this thread for relevant discussion points about different formats.

@ghisvail
Copy link
Contributor

For the basic form of ISO 8601, it's a one-liner:

>>> datetime.datetime.utcnow().strftime("%Y%m%dT%H%M%SZ")
'20240219T091453Z'

@ghisvail ghisvail force-pushed the 21-problem-saving-model-training branch from c5eca23 to ec956ec Compare February 20, 2024 09:01
@ghisvail
Copy link
Contributor

I modified your PR to switch the offending suffix to an ISO 8601 compliant timestamp.

Once this PR is merged, I'll follow it up with a release. Feel free to try it and report other Windows related problems.

@ghisvail ghisvail merged commit 0a7eec8 into medkit-lib:main Feb 20, 2024
11 checks passed
@DrFabach DrFabach deleted the 21-problem-saving-model-training branch March 18, 2024 10:59
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.

problem saving model training
2 participants