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 Everyone, I Just Discovered Trains. I Saw That Basically To Use Trains We Need : - Trains

Hi everyone, I just discovered Trains. I saw that basically to use trains we need :

  • trains 😁
  • a storage (s3, etc...)
  • a trains server that is your server by default

I saw that we can set a local server.

For the storage, is it possible to set a local directory?

  
  
Posted 3 years ago
Votes Newest

Answers 8


Hey SuccessfulKoala55 , I'm new to Trains and want to setup an Azure Storage Container to store my model artifacts. I see that we can do this by providing an output_uri in Task.init() but is there another way to send all the artifacts to Azure instead of using the Task.init()? Like setting a variable somewhere, so that whenever I run my tasks I know the artifacts will get stored in Azure even if i dont provide an output_uri

  
  
Posted 3 years ago

Thanks SuccessfulKoala55
So if I set a local server, a default file server is set where the trains server is installed?

  
  
Posted 3 years ago

Basically, set my Host storage as Azure

  
  
Posted 3 years ago

Instead of providing the output_uri in Task.init() , you can simply configure it in your trains.conf file, under sdk,development.default_output_uri

  
  
Posted 3 years ago

Indeed. Same address with port 8081

  
  
Posted 3 years ago

And welcome 🙂

  
  
Posted 3 years ago

Thanks 🙂

  
  
Posted 3 years ago

Hi WhoppingPeacock84 ,
Welcome to trains! 🙂
For storage, you can simply start by using the default fileserver that comes built-in with the trains server. Trains SDK will use it by default, so assuming you have a server set up, the storage is already there 🙂

  
  
Posted 3 years ago