Reputation
Badges 1
108 × Eureka!i tired to run trains-compose without -d to say the log,
trains-agent-services | trains_agent: ERROR: Connection Error: it seems api_server is misconfigured. Is this the TRAINS API server http://apiserver:8008 ?
trains-agent-services | http://192.5.53.86:8081 http://192.5.53.86:8080 http://apiserver:8008
I didn’t assign anything to TRAINS_HOST_IP, not sure if the apiserver:8008 caused the problem
Then access the 8008 through the tunnel
I have two laptop, one is running ubuntu 20.04 and one is macos, both are running in my local network. I installed the server on ubuntu and ssh from mac to it to bring up the server then build up a tunnel using ssh -L
but the solution in the answer doesn’t help cause when i do reverse with -R the server couldn’t be brought up
i’m trying to install it my lab server, but the same problem happen, when i try to create credentials, it say error but this time it give more info:
Error 301 : Invalid user id: id=f46262bde88b4928997351a657901d8b, company=d1bd92a3b039400cbafc60a7a5b1e52b
Thanks, it seems i need to forward all three ports
i’ll finish my breakfast real quick and get in couple minuets
i just tried, but is still open result on public server.
i tried to add environment right before importing clearml, but it doesn’t work as expectedos.environ['CLEARML_CONFIG_FILE'] = str(Path.home()/f"clearml-{socket.getfqdn()}.conf") from clearml import Task Task.init(project_name="Alfred", task_name="finalized", auto_connect_frameworks={'pytorch': False})
i’m setting the environment variable in the python script like thisos.environ['CLEARML_CONFIG_FILE'] = str(Path.home()/f"clearml-{socket.getfqdn()}.conf")
then task.init
i’m not sure if i use the command correctly
oh i see, i’m trying it now
when i run this one clearml-agent --config-file ~/clearml-iris.conf
it output the help info
then i run the second one, it basically outputs the same as just init
but basically i create it by init and rename it
i was trying to copy the content of that file
before i renamed it, i can log the experiment successfully, i basically add task.init to the python script then just run that script
It only works that we set the CLEARML_CONFIG_FILE before script running