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
I have three branches. Every branch is one experiment. One experiment should create a metric file as output. Two experiments are already finished, the third experiment is still running. So I have two experiments (= branches) with a metric file and one without.
Now I want to use "dvc metrics show -a" to get the result from the two already finished experiments. But I got an error that the branch with the running experiment does not have a metric file.
I am working with the pip installed DVC (version 0.35.7). The system is a ubuntu 18.04 and use anaconda.
And here is the output from the command dvc metrics show -v -a
(tf-gpu) j@t:~/Documents/gitlab/0005_3d_siamesenet$ dvc metrics show -v -a
ERROR: unexpected error - [Errno 2] No such file in branch 'test_local': 'metrics/test_local_False.json'
Traceback (most recent call last):
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/main.py", line 37, in main
ret = cmd.run_cmd()
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/command/base.py", line 60, in run_cmd
return self.run()
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/command/metrics.py", line 47, in run
recursive=self.args.recursive,
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/repo/metrics/init.py", line 18, in show
return show(self.repo, *args, **kwargs)
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/repo/metrics/show.py", line 263, in show
metrics = _read_metrics(self, entries, branch)
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/repo/metrics/show.py", line 237, in _read_metrics
fd = self.tree.open(out.path)
File "/home/j/anaconda3/envs/tf-gpu/lib/python3.6/site-packages/dvc/scm/git/tree.py", line 34, in open
raise IOError(errno.ENOENT, msg, relpath)
FileNotFoundError: [Errno 2] No such file in branch 'test_local': 'metrics/test_local_False.json'
The text was updated successfully, but these errors were encountered:
mastaer
changed the title
"dvc metrics show -a" should work with not finished experiments.
"dvc metrics show -a" should work if a metric file is missing
Apr 23, 2019
mastaer
changed the title
"dvc metrics show -a" should work if a metric file is missing
"dvc metrics show -a" doesn't work if a metric file is missing
Apr 23, 2019
I have three branches. Every branch is one experiment. One experiment should create a metric file as output. Two experiments are already finished, the third experiment is still running. So I have two experiments (= branches) with a metric file and one without.
Now I want to use "dvc metrics show -a" to get the result from the two already finished experiments. But I got an error that the branch with the running experiment does not have a metric file.
I am working with the pip installed DVC (version 0.35.7). The system is a ubuntu 18.04 and use anaconda.
I got help from ruslan in the forum: https://discordapp.com/channels/485586884165107732/563406153334128681/570262271847039028
thanks for the help!
And here is the output from the command
dvc metrics show -v -a
The text was updated successfully, but these errors were encountered: