-
Notifications
You must be signed in to change notification settings - Fork 37
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
custom exp name #725
custom exp name #725
Conversation
Codecov ReportAll modified lines are covered by tests ✅
📢 Thoughts on this report? Let us know!. |
@@ -62,6 +62,7 @@ def __init__( # noqa: PLR0913 | |||
save_dvc_exp: bool = False, | |||
dvcyaml: bool = True, | |||
cache_images: bool = False, | |||
exp_name: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add exp_message
and update other args for this callback in a separate PR.
if name: | ||
ref = ExpRefInfo(baseline_sha=baseline_rev, name=name) | ||
if scm.get_ref(str(ref)): | ||
logger.warning(f"Experiment conflicts with existing experiment '{name}'.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw., what happens if two people name the experiment the same way simultaneously (feels that it would have been better to have still some random id / hash in the name or something).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing prevents us from adding a random suffix, but it's outside the scope of this PR, right? How about we open an issue in dvc to discuss it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, sorry, not a blocker for this PR
Closes #582