Closed TianlinZhang668 closed 2 years ago
Hi!
can you tell me which line generates the error?
You should be able to set
num_data_loader_workers=0
in the initialization of the CTM object (either ZeroShotTM or CombinedTM).
See it here
Thank you very much for your help! And I have another question. Does the model apply unsupervised dataset (I have 500,000 sentences)? what other operations do I need to do when using CTM or Kitty?
Description
When I use windows+pytorch+pycharm.
I meet ForkingPickler(file, protocol).dump(obj) BrokenPipeError: [Errno 32] Broken pipe
It seems to be a Multithread problem. (from other web seems to modify num_workers to 0) But I dont know how to fix it in CTM.