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


No sure, here is the code

  
  
Posted 3 years ago

Let me check that for a sec

  
  
Posted 3 years ago

Why are you initializing 3 diff Tasks ?

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago

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

  
  
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

yes, that’s the error i got

  
  
Posted 3 years ago

Let me check, see what can be learned ...

  
  
Posted 3 years ago

seems the not logging problem is back

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

No sure what O'm seeing here

  
  
Posted 3 years ago

check on the iteration on the right side,
i tried to start the experiment few times, and sometimes, 1 or 2 of the experiment seems just won’t start

  
  
Posted 3 years ago

Hmm let me check something

  
  
Posted 3 years ago

works most of time, this occurs only few times

  
  
Posted 3 years ago

Not sure on the cause but if you do:

mp.set_start_method('fork', force=True)

There is no semaphore leakage

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