iterative / dvclive

📈 Log and track ML metrics, parameters, models with Git and/or DVC
https://dvc.org/doc/dvclive
Apache License 2.0
161 stars 35 forks source link

DVCLive throws a weird warning when origin is not defined #753

Closed shcheklein closed 9 months ago

shcheklein commented 9 months ago

If repo is new and there is no origin yet. Most likely needs to be reviews on the Studio side.

{"detail":"Permission denied or repo not found, check that origin is a self-hosted gitlab repo"}

dberenbaum commented 9 months ago

What do you think should happen in this case? Can you provide more of the context of the output outside of this line?

shcheklein commented 9 months ago

Just a less confusing message (e.g. not mention GitLab self-hosted). We don't need any major changes here.

shcheklein commented 9 months ago

Context- it was a new repo, I did git init locally and ran your notebook from fabric example in it AFAIR.

dberenbaum commented 9 months ago

Sorry, I meant do you have the full output? It's hard to see how "weird" the warning is without seeing the surrounding output.

shcheklein commented 9 months ago

I don't anymore, but it's a regular framework output I believe - not much about dvclive. I can run it again if you feel it is needed.

dberenbaum commented 9 months ago

No, I can reproduce it, thanks. My initial thought is that it's a dvc-studio-client issue. We shouldn't be sending anything to studio if we can't figure out a valid git remote name/url to send.