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
Pytorch-Lightning-Bols.Loggers.Trainslogger

pytorch-lightning-bols.loggers.TrainsLogger creates new ids even if reuse_last_task_id=True is set. How can I force it to reuse last ids?

  
  
Posted 4 years ago
Votes Newest

Answers 9


In my case, I write codes and run single batch train-val, which contains model saving, in developing phase. I want TRAINS to overwrite the dev runs for keeping dashboard clean.

  
  
Posted 4 years ago

if you have any idea to reuse id even if models are outputted, please tell me thx

  
  
Posted 4 years ago

oh I got it. my codes output models and the task catch it automatically.

  
  
Posted 4 years ago

YummyWhale40 from the code snippet, it seems like the argument is passed.
"reuse_last_task_id=True" is the default, and it means that if the previous run of the task did not create any artifacts/models and was executed 72 hours ago (configurable), The Task will be reset (i.e. all logs cleared) and will be reused in the current run.

  
  
Posted 4 years ago

maybe the arguments is simply passed to Task.init()
self._trains = Task.init( project_name=project_name, task_name=task_name, task_type=task_type, reuse_last_task_id=reuse_last_task_id, output_uri=output_uri, auto_connect_arg_parser=auto_connect_arg_parser, auto_connect_frameworks=auto_connect_frameworks, auto_resource_monitoring=auto_resource_monitoring )

  
  
Posted 4 years ago

I would like to confirm just in case.
In the desired behavior, reuse_last_task_id=True forces it for any intervals?

  
  
Posted 4 years ago

YummyWhale40 you mean like continue training?
https://github.com/allegroai/trains/issues/160

  
  
Posted 4 years ago

I don't mean continuous training but I want to know about your plans for it 😋

  
  
Posted 4 years ago

YummyWhale40 no idea what the pytorch-lighting guys did there. let me check a the actual code.

  
  
Posted 4 years ago
1K Views
9 Answers
4 years ago
one year ago
Tags