clearml icon indicating copy to clipboard operation
clearml copied to clipboard

choose git repository

Open rui1998 opened this issue 2 years ago • 6 comments

hello, there is a question about using the agent and the git,when i excute an repository's train.py, it works well because i set this git repository's address like the following picture,and the ququestion i wanna ask is when i want to excute annother repository's ,should i set the git_host again in clearml.conf ? if so, i think its waste of time image

rui1998 avatar Jun 23 '22 01:06 rui1998

hello @rui1998 I am not sure to fully understand your question : can you explain what you want to achieve ? Do you have scripts from different repo to execute at the same time ? or is this another script in another repo, that you would like to run with the same config ?

DavidNativ avatar Jun 23 '22 05:06 DavidNativ

hello@DavidNativ, just like in my gitee there is a repo named mltest.git,so i set git host with https://gitee.com/owenrui/mltest.git
and there is another repo in my gitee like named mltest2.git should be excute, so Do I need to reset the git host such as https://gitee.com/owenrui/mltest2.git in the clearml.conf ?

ghost avatar Jun 23 '22 05:06 ghost

@DavidNativ

ghost avatar Jun 23 '22 05:06 ghost

or i just need to give my gitee address like https://gitee.com/owenrui and the agent can find which repo he need to excute?

ghost avatar Jun 23 '22 05:06 ghost

@rui1998 You don't need to actually provide the git host name in the configuration - you just need to execute your scripts from the git repository cloned folder, and ClearML SDK will automatically detect the git repository details and update them on the task itself.

jkhenning avatar Jun 23 '22 06:06 jkhenning

@jkhenning ok thanks i will try

ghost avatar Jun 23 '22 06:06 ghost