Spacy beam search memory leak?

150 views Asked by At

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)
1

There are 1 answers

1
aab On

This should be fixed as of spacy v2.2.4.