Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Have A Question About "Logging Artifacts", Lets Say I Run An Experiments On A Remote Machine, And Then I Want To Look At The "Logs" For Completed Runs In My Local Machine, Is It Possible? Can I Copy Paste Some Trains-Artifacts And Then Load Them In The

I have a question about "logging artifacts", lets say I run an experiments on a remote machine, and then I want to look at the "logs" for completed runs in my local machine, is it possible? can I copy paste some trains-artifacts and then load them in the server?

  
  
Posted 4 years ago
Votes Newest

Answers 19


?

  
  
Posted 4 years ago

I think the latter. the specific use-case I'm talking about is running experiments on one machine, and using a local server on another machine to read the "logs" \ artifacts

  
  
Posted 4 years ago

Hi RipeGoose2 ,
Are you talking about the experiment output (as in stdout ) or specifically the artifacts added using Task.upload_artifact() ?

  
  
Posted 4 years ago

The artifacts are reported and uploaded to the server when the experiment is running, and you can view them there when the experiment is running and also after the experiment has completed.
What is your specific scenario? Is there any specific reason you don't want the artifacts to be reported/uploaded during the experiment's run?

  
  
Posted 4 years ago

But that machine doesn't have to run the server - the server can run on a different machine (even your own machine). Moreover, the trains package you import in your experiment code requires access to the Trains Server, and does not support running with no server connection.

  
  
Posted 4 years ago

Just to be clear, when you say "artifacts", do you refer also to experiment metrics (scalars etc.), or just to artifact "objects" (like files, numpy arrays, pandas dataframes etc. that are reported using Task.upload_artifact() )?

  
  
Posted 4 years ago

yes, I have limited access to the machine that is running the experiment. I can't setup a server there. but I want to collect the results and view them later

  
  
Posted 4 years ago

We are thinking about an offline mode in which all the experiment results are stored locally and then reported back to the server when a connection is available, however this is not yet available in Trains...

  
  
Posted 4 years ago

If that's of interest to you, I'll appreciate if you open an issue with a feature request in the trains GitHub page 🙂

  
  
Posted 4 years ago

I refer to all the info that accessible through the webApp

  
  
Posted 4 years ago

"does not support running with no server connection." this is what I was afraid of..I'll need to figure out if I can use trains at all 😞

  
  
Posted 4 years ago

If you just need to access the artifacts uploaded by a remotely-executed experiment, you can just go to the experiment's page in the WebApp and look in the Artifacts tab - each artifact there has both a preview, and a download link to the artifact file uploaded to the trains files server.

  
  
Posted 4 years ago

by communication that the artifacts are streamed from the machine running the experiments to the local server?
can it be done "offline" after the experiments run view them in my local server?

  
  
Posted 4 years ago

if I don't have internet connection on the other machine, can I just copy the artifacts and transfer them to my local machine?

  
  
Posted 4 years ago

by WebApp you mean the public online one? I might be confusing stuff

  
  
Posted 4 years ago

and I will also be happy to see if I can contribute maybe to this specific feature or maybe others

  
  
Posted 4 years ago

Hi RipeGoose2 all PR's are welcome, feel free to submit :)

  
  
Posted 4 years ago

yes I will be happy to, its gonna be my first time

  
  
Posted 4 years ago

RipeGoose2 , I assume you're running your own local Trains Server, and that the machine running the remote experiment (using Trains Agent) is communicating with your local server. By WebApp I mean the web interface served by your local server (http://<server-ip>:8080)

  
  
Posted 4 years ago
1K Views
19 Answers
4 years ago
one year ago
Tags
Similar posts