You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When keeping dvc experiments outside from the main branch, vscode extension fails to show experiments while main branch is active ("Your project contains no data" error is shown).
The issue arises when hydra is used, but up-to-date params.yaml is not present in the current branch.
At this point we expect to see non-empty "Experiments" tab in VSCode extension (there is one dvc experiment at the repo). But "Your project contains no data" will be shown in VSCode extension
To ensure that experiment actually exists: git fetch origin exp1-branch && git checkout --track origin/exp1-branch. This command will populate Experiments tab in VSCode extension with the experiment
git checkout master will make Experiments tab empty again
Just to mention: the nature of this error is kind of obvious (master branch does not know about parameters.parameter_name because of the lack of params.yaml. But the error does not prevent dvc exp show correct work and I wish that it won't prevent VSCode extension correct work as well.
Seems that this issue could be related (also about errors with hydra and params.yaml)
mattseddon
changed the title
VSCode extension: extension does not show any experiments when active branch does not have experiments while other branches do
Experiments are not shown when baseline commit has an error
Nov 29, 2023
Description
When keeping dvc experiments outside from the main branch, vscode extension fails to show experiments while main branch is active ("Your project contains no data" error is shown).
The issue arises when hydra is used, but up-to-date params.yaml is not present in the current branch.
Reproduce
git clone https://github.com/Danila89/dvc_empty.git
cd dvc_empty && dvc exp pull origin -A --no-cache
git fetch origin exp1-branch && git checkout --track origin/exp1-branch
. This command will populate Experiments tab in VSCode extension with the experimentgit checkout master
will make Experiments tab empty againEnvironment information
Output of
dvc doctor
:Output of
dvc exp show -n 3 --json
:The text was updated successfully, but these errors were encountered: