Reputation
Badges 1
47 × Eureka!AgitatedDove14 /usr/bin/python3
/usr/local/bin/trains-agent
It worked when I changed python3 -m trains-agent --help
to trains-agent --help
I wil try it with different port
Btw, we figure out that '
is belong the echo. So there is no problem with that one.
chown: cannot access '/root/.cache/pip': No such file or directory
It gives this error
AgitatedDove14 Is it possible to delete specified worker? I mean, I have 10 workers and I want to delete one of them?
Yes, it fixed. If I install trains from github repo directly withouth using my local version. But, is there another way to avoid it, because I might change the code for my personal use, that's why I want to install trains from my local.
Yes, I mean trains-agent. Actually I am using 0.15.2rc0. But, I am using local files, I mean I clone trains and trains-agent repos and install them. Their versions are 0.15.2rc0
/usr/bin/python3: No module named trains-agent
Because of the error I thought, I run first command, but I run edited version. It gives this error (That's why, it takes time 😞 )
AgitatedDove14 , sorry for my late response, I will try it. it might work and Thanks.
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.
I couldn't tell. Assume, I have a huge github repository, it has 100 ml project and I want to see all of them in the trains server. Should I write "train.init()" and run them all in order to see them in the server or is there any other way to see all of them in the server without run them all.
How can I change the apiserver from localhost to my machine's IP. I couldn't figure it out. Sorry.
I think you can reproduce it by cloning the trains repository, then pip install -e ~/trains
and then you need to run one of the examples from trains examples by writing python3 toy_base_task.py
. Then you should see this odd bug.
-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.
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.
Yes, I mean removing agent from the server
At the end, there is an error about "pip"
As you said, in order to see my code in the server, I need to run it. So, what am I asking that is there any way to see my code in the server without run it.
AgitatedDove14 Yes, that's what I am saying.
Actually, it may help. I will try it.
It worked. Thanks a lot 🙂
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
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.