
Reputation
Badges 1
47 × Eureka!Yes, local commit without pushing it. Can I configure the code? I searched this topic in older discussions, but I can't find it.
from trains_agent import APIClient client = APIClient() task = client.tasks.get_by_id(task="5b5cbdc5e7bc4cd5ba39081b5b4a0423") print(task.execution.parameters)
Okey, know it is 2.9, I misunderstood you.
When I print (task.data) there is no hyperparams
in dictionary.
Actually, it may help. I will try it.
print(task.data.hyperparams)
I tried this one
How can I change the apiserver from localhost to my machine's IP. I couldn't figure it out. Sorry.
Yes, I mean removing agent from the server
Ups, you misunderstood me. I just want to remove specified agent. For example, I had 3 agents on the same queue with different worker names. So, if I remove them by applying what you said in this thread, all of them will be removed. However, I just want to remove one of them.
Okey, I got it now. Thanks for help 🙂
I mean, you know in trains github, there are examples and when I deploy the server, these examples are exist in server with draft status. So, I want to add my examples in the same way.
Thanks a lot for the last information. It worked 😄
It worked. Thanks a lot 🙂
TimelyPenguin76 It is 2.1, but 2.9 files are also exist. How can I update it?
AttributeError: 'Task' object has no attribute 'hyperparams'
fatal: destination path '/home/dogukan/.trains/vcs-cache/pre-post-script-repo.git.35f82b395021c8e6afef186fafa662cc/pre-post-script-repo.git' already exists and is not an empty directory.
Actually, the error occurs because of this line. I run my experiment firstly on docker, then it creates a folder in the vcs-cache that gives access permission only to root. Then, I run my experiment on venv and it cannot access this folder and cannot create new one because of the same name.
-e git+
torch == 1.5.1 torchvision == 0.6.1 trains == 0.15.2rc0
Actually, package version is also written. However, because of git ref, trains-agent fails.
AgitatedDove14 /usr/bin/python3
/usr/local/bin/trains-agent
AgitatedDove14 I might find something to fix the issue but I am not sure. In trains-agent worker.py script log it is written like that python3 -u -m trains_agent execute --disable-monitoring --id 9fe6d610a2b946379255b0fc25b5f9fd')
so at the end there is an extra " ' ". So when I run this script in my local environment by writing python3 -u -m trains_agent execute --disable-monitoring --id 9fe6d610a2b946379255b0fc25b5f9fd
it works and runs the code. However, if I write ` pytho...
I was using APIClient inside of trains-agent and in trains-agent there is no v2.9. I think that's why I could not get hyperparams
Actually, I want to retrieve metrics from code and I thought that these metrics might be stored somewhere in the local folders so that I can access them via code. You know the log file is created and stored in /tmp folder.
If I delete this folder that is in ~/.trains/vcs-cache directory, it fixes the problem
AgitatedDove14 Yes, that's what I am saying.
I will install from repository and try it again, my trains-agent version is 0.15.2rc0, but I could not find trains version, it might be about version