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
Cloning: Origin Repository Cloning Failed: 'Nonetype' Object Has No Attribute 'Startswith' Trains_Agent: Error: Failed Cloning Repository. 1) Make Sure You Pushed The Requested Commit: (Repository='Origin', Branch='Master', Commit_Id='051A8418Cf1D85F392

` cloning: origin
Repository cloning failed: 'NoneType' object has no attribute 'startswith'

trains_agent: ERROR: Failed cloning repository.

  1. Make sure you pushed the requested commit:
    (repository='origin', branch='master', commit_id='051a8418cf1d85f3923bce5bac81a9698ab5c375', tag='', entry_point='pytorch_mnist.py', working_dir='.')
  2. Check if remote-worker has valid credentials [see worker configuration file]

User aborted: stopping task (3) `Is it possible to execute local git repository with trains-agent? When I tried to run my code from my local git repository I got this error.

  
  
Posted 4 years ago
Votes Newest

Answers 7


MysteriousBee56 okay look for the folder ~/.trains/vcs_cache you will find the git repo there, just overwrite the content with your local copy

  
  
Posted 4 years ago

MysteriousBee56 what do you mean by "local repository"?
Like no git server, or local commit before pushing it ?

  
  
Posted 4 years ago

Thanks a lot for the last information. It worked 😄

  
  
Posted 4 years ago

Actually, it may help. I will try it.

  
  
Posted 4 years ago

YEY 🙂

  
  
Posted 4 years ago

MysteriousBee56 there is no way to tell the trains-agent to pull from local copy of your repository...
You might be able to hack it, if you copy the entire local repo to the trains-agent version control cache. would that help you?

  
  
Posted 4 years ago

Yes, local commit without pushing it. Can I configure the code? I searched this topic in older discussions, but I can't find it.

  
  
Posted 4 years ago