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

Extension can't handle custom folder structure #5198

Open
andiedrums opened this issue Jan 16, 2024 · 0 comments
Open

Extension can't handle custom folder structure #5198

andiedrums opened this issue Jan 16, 2024 · 0 comments
Assignees
Labels
A: experiments Area: experiments table webview and everything related priority-p2 Future feature, less priority for now

Comments

@andiedrums
Copy link

image
I have a repository structure (depicted in the image) where I want to use different stages and different params for each inspection, so each subfolder has its own params.yaml and dvc.yaml file. To demonstrate the problem, I adapt the amount of training epochs.

Things that work:

  • Using the terminal, dvc exp run -S inspections\nose_4pol_0deg_surface\params.yaml:train.epochs=28 in the corresponding inspection subdirectory.
  • Using the terminal, dvc exp run --queue inspections\nose_4pol_0deg_surface\dvc.yaml -S inspections\nose_4pol_0deg_surface\params.yaml:train.epochs=28 in the root directory.

Things that do not work:

  • Using the Modify and Run functionality of the vs code extension. While the vs code dropdown menu lists all params of the inspections\nose_4pol_0deg_surface\params.yaml (as it should be), executing the experiment shows the following error:
Running: dvc exp run -S inspections\nose_4pol_0deg_surface\params.yaml:train.epochs=28

ERROR: Invalid --set-param value: Could not override 'train.epochs'.
To append to your config use +train.epochs=28: Key 'train' is not in struct
    full_key: train
    object_type=dict
  • Using the Modify and Queue functionality of the vs code extension. This leads to the same error as mentioned above.
  • Executing experiments from the queue via dvc queue start from the root directory (after adding an experiment using dvc exp run --queue inspections\nose_4pol_0deg_surface\dvc.yaml -S inspections\nose_4pol_0deg_surface\params.yaml:train.epochs=28). Here, hovering over the experiment only shows Experiment run failed, I could not find any additional error logs.
@julieg18 julieg18 added the A: experiments Area: experiments table webview and everything related label Jan 16, 2024
@mattseddon mattseddon added priority-p2 Future feature, less priority for now and removed triage labels Feb 6, 2024
@shcheklein shcheklein self-assigned this Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Area: experiments table webview and everything related priority-p2 Future feature, less priority for now
Projects
None yet
Development

No branches or pull requests

4 participants