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 Guys, Firstly, Thank You For Your Efforts And Your Support. I'M Trying To Use Allegro Trains To Handle The Experiments Of A Git Repo. The Repo Is Structured As Follows:

Hi guys,

Firstly, thank you for your efforts and your support.
I'm trying to use allegro trains to handle the experiments of a git repo. The repo is structured as follows:
repo/ ├── library/ └── experiments_that_uses_library/In order to run the experiments I have to:
clone the repo from git cd library && [install library] run the experimentsIs there a way to model this process with allegro trains?
I tried editing the trains.conf of the train agent with agent.docker_init_bash_script and agent.extra_docker_shell_script but I believe the repo isn't yet cloned, when these scripts are executed

  
  
Posted 3 years ago
Votes Newest

Answers


Firstly, thank you for your efforts and your support.

Thanks SmugOx94 !

Are you running trains-agent in docker mode? The aforementioned scripts are executed before, the experiment is being cloned, they are meant to be a part of the docker setup, not a per experiment script.
You could try to edit the experiment and have:
Working Directory: "."
(that means the root of the repository)

Script Path: "experiments_that_uses_library/train.py"

This will make sure you can do "import library" without the need to actually install it (the working directory will be part of the python path)
What do you think?

  
  
Posted 3 years ago
590 Views
1 Answer
3 years ago
one year ago
Tags