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
How Can I Execute Jupyter Notebooks Using

How can I execute jupyter notebooks using trains-agent ? My notebook is committed to a git repo. I'm creating different tasks throughout the notebook and executing them remotely.

  
  
Posted 4 years ago
Votes Newest

Answers 7


GiddyTurkey39 do you have an experiment with the jupyter notebook ?

  
  
Posted 4 years ago

AgitatedDove14 So I ran a cell to create the task and execute it remotely. The cell (after execution) shows up with an error that says NameError: name 'exit' is not defined . Trains does store the task as a draft, and when I try to execute the task via trains agent, it aborts in the middle of installing all of the dependencies.

  
  
Posted 4 years ago

GiddyTurkey39 what do you have in the Task itself
(i.e. git repo uncommitted changes installed packages)

  
  
Posted 4 years ago

The notebook is contained within a git repo. I have the jupyter notebook pulled up and am running the cell for creating the task and executing it remotely. In the draft task, there is a git repo and uncommitted changes(which contains all of the cells of the notebook) and installed packages.

  
  
Posted 4 years ago

Are you seeing the entire jupyter notebook in the "uncommitted changes" section

  
  
Posted 4 years ago

Yes, I am

  
  
Posted 4 years ago

GiddyTurkey39 Okay, can I assume "Installed packages" contains the packages you need?
If so, you can setup trains-agent on a machine (see instructions on the github)
And then clone the experiment, and enqueue it into the "default" queue (or any other queue your agent is connected to)
https://github.com/allegroai/trains-agent

  
  
Posted 4 years ago