Not showing custom plots on VSCode
Issue: dvclive.log_plot Plots Not Loading in DVC UI
Hi everyone,
I've implemented a model evaluation pipeline that will be integrated into our team's model release process. However, I'm running into an issue where plots created using dvclive.log_plot do not load in the DVC VSCode UI.
Steps to Reproduce
- Generate plots using
dvclive.log_plot(...). - Select the experiment in the DVC extension.
- Click on "Show Plots".
- The UI remains stuck on "Loading plots..." indefinitely.
What Works
When I manually run:
dvc plots show
and compile the generated HTML file, the plots display correctly. This suggests that dvclive is correctly saving the plots, but the DVC UI isn't rendering them properly.
Question
Has anyone else encountered this issue? Any insights into why DVC UI fails to load the plots while dvc plots show works fine?
Thanks in advance!
Hi, yeah I'm facing the same problem. It freezes at loading plot. Only "dvc plots show" works for now.
I'm also having the same issue, can't open any plots anymore via the extension.
Could someone open a developer tools (similar to web browser) and share the log from it when the plots UI open?
These are the lines printed in the console when I open the DVC Extension and click on "Show Plots" and also if I do "Refresh Plots ...": vscode-app-1750153684710.log
And just as a reference, here's how the Plot window looks (it stays empty, also if I do "Refresh Plots"):
I actually noticed, that when you leave the window open for > 10min or so, it actually shows the plots. Here's the log file, after it finally opened the plot: