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! Is There A Way To Run A Task Without Reporting To The Server? For Example If I Want To Debug A Script By Running It Locally Without It Appearing On The Server

Hi! Is there a way to run a task without reporting to the server? For example if I want to debug a script by running it locally without it appearing on the server

  
  
Posted 2 years ago
Votes Newest

Answers 11


I want to be able to access the data just avoid reporting the experiment results

Yes, you are correct ๐Ÿ˜ž
If you just want to skip the logging you can always add an if to the Tasl.init call ?!

  
  
Posted 2 years ago

AgitatedDove14 Downloading a dataset would not be possible using this right? I want to be able to access the data just avoid reporting the experiment results

  
  
Posted 2 years ago

It will store everything locally, later you can import it back to the server, if you want.

  
  
Posted 2 years ago

I feel itโ€™s easier not to report than cleaning after but please correct me if I am overthinking it. Iโ€™ll check if I could wrap the code in something that calls the Task.delete if debugging

  
  
Posted 2 years ago

Thanks Martin! ๐Ÿ™Œ

  
  
Posted 2 years ago

Iโ€™ll check if I could wrap the code in something that calls the Task.delete if debugging

Whatever you think works best for you, I was genuinely curious ๐Ÿ™‚
To me (personally) it is helpful to have a log even while debugging (comparing to previous runs etc, trying to see what went wrong even on a console output level). When I'm done I just search for everything I worked on select all, and archive them. Then a cleanup service in the background clears all the archived Tasks once they are stale (i.e. a month have passed)

  
  
Posted 2 years ago

Yes! I think thats what I will do ๐Ÿ‘Œ Let me know if there is a way to contribute a mode to keep logging off. We just donโ€™t want to pollute the server when debugging.

  
  
Posted 2 years ago

We just donโ€™t want to pollute the server when debugging.

Why not ?
you can always remove it later (with Task.delete) ?

  
  
Posted 2 years ago

AgitatedDove14 task.set_archived(True) + the cleanup service should do it ๐Ÿ‘Œ If we run in debug mode the experiment goes directly to the archive and gets cleaned and we donโ€™t pollute the main experiment page.

  
  
Posted 2 years ago
580 Views
11 Answers
2 years ago
one year ago
Tags
Similar posts