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
<image>

image
image

  
  
Posted 3 years ago
Votes Newest

Answers 46


when i run the code i send you the other day, logging is perfect, but at the end of the code there is a semaphore warning, not sure if it’s related

  
  
Posted 3 years ago

No need, it should auto close it if you started it with Task.init (or the agent executed it)

  
  
Posted 3 years ago

one quick question is that do i need to do some task.close() at the end of each process?

  
  
Posted 3 years ago

there is a semaphore warning, not sure if it’s related

Can you resend it?
Is the Task marked as closed when the process ends ?

  
  
Posted 3 years ago

And only the main one ?

  
  
Posted 3 years ago

Wouldn't it make sense to use a single one ?

  
  
Posted 3 years ago

How do I reproduce it ? (all the processes are on the same machine?)

  
  
Posted 3 years ago

No sure, here is the code

  
  
Posted 3 years ago

Nice job

  
  
Posted 3 years ago

we need to evaluate the result across many random seeds, so each task needs to log the result independently.

Ohh that kind of makes sense to me 🙂
Yes I'm also getting:

/usr/local/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 74 leaked semaphores to clean up at shutdown
  len(cache))

Not sure about that ...

  
  
Posted 3 years ago

Hmm let me check something

  
  
Posted 3 years ago

and one experiment takes 40 hours to run, so i let them run in parallel

  
  
Posted 3 years ago

i can only see the init log

  
  
Posted 3 years ago

No sure what O'm seeing here

  
  
Posted 3 years ago

now it has log, but only the initial one

So the subprocesses are not logged ?

  
  
Posted 3 years ago

yeah sure

  
  
Posted 3 years ago
24K Views
46 Answers
3 years ago
7 months ago
Tags
Similar posts