Tracking automatically generated parameters #10248
-
| 
         We are currently facing an issue with logging of parameters in DVC Live. Our project structure is shown below: ├───src DVC Version: 3.39.0 We manually modify params.yaml to set parameters for running experiments. This file mainly includes parameters that What is the recommended way to do this? We tried the following: While debugging we can see that the expected file is created in dvclive/params.yaml. But the file is removed automatically Any help is highly appreciated.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
| 
         Could you share the repo, or   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Hi @dberenbaum , some further information: DVC version: 3.39.0 dvc.yaml Script for training stage (train.py) which is trying to log the model parameters (see line 27+28):  | 
  
Beta Was this translation helpful? Give feedback.
Thanks for the details! A few things I notice:
dvclive. Could you try to either change the dvclive path (with Live("some_other_dir") as live:) or change the optuna path?dvc.yaml, it lists the params path asparams.yamlinstead ofdvclive/params.yaml. Not sure whether that was added by you or automatically by dvclive, but there should be a path there todvclive/params.yaml.outssection of thetrainstage (you can addcache: falseif …