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
Hi, I Have A Train Server Set Up On Some Ip And Accessing The Web Interface Works Great. But How Do I Configure

Hi, I have a train server set up on some IP and accessing the web interface works great.
But how do I configure trains (from pip install trains ) to use my server and not the demo server.
When I import Task and use it as the tutorial suggests it keeps using the demo server.
Thanks

  
  
Posted 4 years ago
Votes Newest

Answers 5


Hi CooperativeSealion8 ,

trains is configured according to ~/trains.conf file, in this file you should define the app, api and files servers.

You can do it with our great wizard, just type
trains-init in your CLI and follow the instructions,
` ❯ trains-init
TRAINS SDK setup process

Please create new trains credentials through the profile page in your trains web app (e.g. )
In the profile page, press "Create new credentials", then press "Copy to clipboard".

Paste copied configuration here: `
You can also read and view example for such file in https://github.com/allegroai/trains#configuring-your-own-trains-server-

  
  
Posted 4 years ago

We can certainly add a trains.conf brief, thanks for the feedback  🙂

  
  
Posted 4 years ago

Thanks! Got a bit lost in documentation

  
  
Posted 4 years ago

Thanks

  
  
Posted 4 years ago

CooperativeSealion8 For future reference, notice there's a configuration reference available at https://allegro.ai/docs/references/trains_ref/

  
  
Posted 4 years ago
1K Views
5 Answers
4 years ago
one year ago
Tags