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'M Trying To Execute Trains-Agent In Docker Mode With Conda As Package Manager, Is It Supported? I Tried To Work With Nvidia/Cuda:10.0-Runtime-Ubuntu18.04 And Got The Error "Trains_Agent: Error: Error: Package Manager "Conda" Selected, But '

Hi everyone,
I'm trying to execute trains-agent in docker mode with conda as package manager, is it supported?
I tried to work with nvidia/cuda:10.0-runtime-ubuntu18.04 and got the error "trains_agent: ERROR: ERROR: package manager "conda" selected, but 'conda' executable could not be located"

I guess that I need to edit the docker and install conda inside, Someone tried it before?

  
  
Posted 4 years ago
Votes Newest

Answers 7


I use this docker nvidia/cuda:10.0-runtime-ubuntu18.04, I'm docker noob so far, so I will try to search, I assumed it installed python3.6 because it appears in the trains.conf
do you know if it just coming with python3.6?

  
  
Posted 4 years ago

I did, and it installed the docker with python 3.6 (I think because the parameter of agent.default_python is 3.6 by default)
is it possible to change this parameter when I create the experiment? (I want to work with python 3.7)

  
  
Posted 4 years ago

RattySeagull0 I think you are correct, python 3.6 is the installed inside the docker. Is it important to have 3.7 ? You might need another docker (or change the installation script and install python 3.7 inside)

  
  
Posted 4 years ago

Do you have python 3.7 in the docker ?

  
  
Posted 4 years ago

ye I want especially python 3.7, I will try to get another docker with python 3.7 somehow

  
  
Posted 4 years ago

thanks AgitatedDove14 , I will try to use docker with pip as package manager and see if it will solve my issues

  
  
Posted 4 years ago

Hi RattySeagull0

I'm trying to execute trains-agent in docker mode with conda as package manager, is it supported?

It should, that said we really do not recommend using conda as package manager (it is a lot slower than pip, and can create an environment that will be very hard to reproduce due to internal "compatibility matrix" of conda, that might be changing from one conda version to another)

"trains_agent: ERROR: ERROR: package manager "conda" selected, but 'conda' executable could not be located"

This means that the conda package manager does not exist in the docker itself. In most case you can use pip, it will find most of the python packages, and since you are using dockers, you can always select the one with the correct cuda version to match your Tensorflow (if you are using pytorch, trains-agent will automatically pull the correct pytorch version based on the installed cuda version inside the docker)

  
  
Posted 4 years ago