Hi,
I cannot run dvc due to the following error:
ERROR: failed to reproduce ‘dvc.yaml’: output ‘…/data-registry/forecast/models’ does not exist
I already tried different paths, relative, absolute and using direclty the paths instaed of using it by params var.
The weird thing is that this already worked. And suddently stops working.
I already use dvc destroy to clean everthing and I starded again and the problems continues
Can someone help me?
thanks
My dvc.yaml is:
vars:
- db_config_file: /home/dsmendes/Documents/implementation/forecasting_module/config/config.yaml
- params_file: /home/dsmendes/Documents/implementation/forecasting_module/params.yaml
stages:
train:
wdir: ..
cmd: python -m forecasting_module.pipeline train ${db_config_file} ${params_file}
params:
- ${params_file}:
- common.paths.models
- common.columns.id
- common.columns.date
- common.columns.value
- prophet.columns.prophet_date
- prophet.columns.prophet_value
- prophet.train_parameters.seasonality_mode
outs:
- ${common.paths.models}
The debug outputs is:
2021-11-18 16:14:12,120 DEBUG: Dependency 'params.yaml' of stage: 'train' changed because it is '{'common.paths.models': 'new', 'common.columns.id': 'new', 'common.columns.date': 'new', 'common.columns.value': 'new', 'prophet.columns.prophet_date': 'new', 'prophet.columns.prophet_value': 'new', 'prophet.train_parameters.seasonality_mode': 'new'}'.
2021-11-18 16:14:12,121 DEBUG: stage: 'train' changed.
2021-11-18 16:14:12,122 DEBUG: Removing output '../data-registry/forecast/models' of stage: 'train'.
2021-11-18 16:14:12,122 DEBUG: Removing '../data-registry/forecast/models'
2021-11-18 16:14:12,129 DEBUG: defaultdict(<class 'dict'>, {'params.yaml': {'common.paths.models': 'new', 'common.columns.id': 'new', 'common.columns.date': 'new', 'common.columns.value': 'new', 'prophet.columns.prophet_date': 'new', 'prophet.columns.prophet_value': 'new', 'prophet.train_parameters.seasonality_mode': 'new'}})
Running stage 'train':
> python -m forecasting_module.pipeline train /home/dsmendes/Documents/implementation/forecasting_module/config/config.yaml /home/dsmendes/Documents/implementation/forecasting_module/params.yaml
2021-11-18 16:14:12,937 ERROR: failed to reproduce 'dvc.yaml': output '../data-registry/forecast/models' does not exist