Hi,
This is in relation to my use of this package for feeding a training loop for word2vec, but I think the problem lies here, so I'm posting the issue here. Here's an associated gist with the relevant trace and code snippets.
Based on the traceback, here's what I think is happening:
- the producer queue of
macrobatch_queue eventually becomes unable to put((signal_examples, noise_examples))into the underlying _work_queue of the macrobatch_queue producer. This causes the BrokenPipeError
- the iterable for the producer queue of
macrobatch_queue is somehow still open when generate_dataset_parallel finishes, leading to an EOFError (I think, see here)
So, I'm going to try closing macrobatch_consumer after the final for loop in the generate_dataset_parallel to see if it resolves [2], and inserting a short wait after the put in generate_dataset_worker to see if it fixes [1] (see here)
Have you ever seen this behaviour in your own experiments? Thanks in advance,
Hi,
This is in relation to my use of this package for feeding a training loop for word2vec, but I think the problem lies here, so I'm posting the issue here. Here's an associated gist with the relevant trace and code snippets.
Based on the traceback, here's what I think is happening:
macrobatch_queueeventually becomes unable toput((signal_examples, noise_examples))into the underlying_work_queueof themacrobatch_queueproducer. This causes the BrokenPipeErrormacrobatch_queueis somehow still open whengenerate_dataset_parallelfinishes, leading to an EOFError (I think, see here)So, I'm going to try closing
macrobatch_consumerafter the final for loop in thegenerate_dataset_parallelto see if it resolves [2], and inserting a short wait after theputingenerate_dataset_workerto see if it fixes [1] (see here)Have you ever seen this behaviour in your own experiments? Thanks in advance,