I think it fails because it tries to install trains twice. Could you remove the trains package, and test? I'm also curious how do you have both installed?!
MysteriousBee56 yes, please change the trains code!!! Wee pee, if you think someone else can benefit, feel free to PR :)
Regrading the double entry, that seems like an odd bug, how can I reproduce it?
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
I see, that's why we get the git ref, not package version.
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, found the issue :) I'll see to it there is a fix in the next RC. ETA early next week
Thanks@doru! BTW if you are running a code from outside the trains repo, do you still get the double package?
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
Hi MysteriousBee56 , do you have Trains installed from the git?
Another question, you mentioned "it breaks my execution", I'm assuming you mean trains-agent?!
If that is the case, there is a fix for trains-agent install 0.15.2rc0
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
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.
The versions don't need to match, any combination will work.
-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.