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

fix(experiments): use custom Random gen in exp names #576

Closed
wants to merge 1 commit into from

Conversation

shcheklein
Copy link
Member

@shcheklein shcheklein commented May 22, 2023

It's common in ML frameworks to have seed set for reproducibility. I don't think we want this for experiment names though. It creates collisions, which is fine by itself, but in this case can be extreme.

If this approach sounds good, I'll fix it in DVC also.

Screen.Recording.2023-05-21.at.3.18.52.PM.mov

@shcheklein shcheklein self-assigned this May 22, 2023
@shcheklein shcheklein added the A: dvc DVC integration label May 22, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (31a7908) 96.16% compared to head (60bb608) 96.16%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  Coverage   96.16%   96.16%           
=======================================
  Files          43       43           
  Lines        2871     2872    +1     
  Branches      240      240           
=======================================
+ Hits         2761     2762    +1     
  Misses         65       65           
  Partials       45       45           
Impacted Files Coverage Δ
src/dvclive/dvc.py 92.72% <100.00%> (+0.06%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@shcheklein shcheklein requested review from daavoo and dberenbaum May 22, 2023 01:56
@daavoo
Copy link
Contributor

daavoo commented May 22, 2023

If this approach sounds good, I'll fix it in DVC also.

Actually, we now have DVC as explicit dependency, we should remove this code and import the function from there

daavoo added a commit to iterative/dvc that referenced this pull request May 22, 2023
daavoo added a commit to iterative/dvc that referenced this pull request May 22, 2023
@daavoo
Copy link
Contributor

daavoo commented May 22, 2023

Closing in favor of the DVC one and will bump version and import here

@daavoo daavoo closed this May 22, 2023
daavoo added a commit to iterative/dvc that referenced this pull request May 22, 2023
daavoo added a commit to iterative/dvc that referenced this pull request May 22, 2023
mergify bot pushed a commit to iterative/dvc that referenced this pull request May 22, 2023
See iterative/dvclive#576

Co-authored-by: Ivan Shcheklein <[email protected]>
(cherry picked from commit eb45cda)
mergify bot pushed a commit to iterative/dvc that referenced this pull request May 22, 2023
See iterative/dvclive#576

Co-authored-by: Ivan Shcheklein <[email protected]>
(cherry picked from commit eb45cda)
skshetry pushed a commit to iterative/dvc that referenced this pull request May 22, 2023
…9491)

get_random_exp_name: Use custom random generator.

See iterative/dvclive#576

Co-authored-by: Ivan Shcheklein <[email protected]>
(cherry picked from commit eb45cda)

Co-authored-by: daavoo <[email protected]>
@daavoo daavoo deleted the exp-names-randomness branch August 17, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: dvc DVC integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants