0

When I use spacy's beam search, there will be a memory leak problem, how can I solve it? The code that causes the memory leak is as follows:

beams = nlp.entity.beam_parse(docs, beam_width=beam_width, beam_density=beam_density)
shaojie
  • 121
  • 1
  • 11

1 Answers1

0

This should be fixed as of spacy v2.2.4.

aab
  • 10,858
  • 22
  • 38