exp run: --set-param
adds new parameters to the params file
#6282
Labels
A: experiments
Related to dvc exp
--set-param
adds new parameters to the params file
#6282
Bug Report
Description
When I add an non-existent parameter after
-S
, it is added toparams.yaml
and the pipeline is run. This leads to unexpected results.Reproduce
The experiment is run as normal and
params.yaml
has a new parameter:Note the typo in the parameter name.
The user thinks that they have changed a parameter, and no error is reported.
Expected
I'd expect parameters' existence are checked before making any modifications. So the line with
should report that
train.n_grams
is not a valid parameter.Environment information
Output of
dvc doctor
:The text was updated successfully, but these errors were encountered: