I get this error:
Traceback (most recent call last):
File "paraphrase_generation\generate_paraphrases.py", line 478, in
cli_main()
File "paraphrase_generation\generate_paraphrases.py", line 474, in cli_main
main(args)
File "paraphrase_generation\generate_paraphrases.py", line 359, in main
scorer = bleu.Scorer(tgt_dict.pad(), tgt_dict.eos(), tgtdict.unk())
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\site-packages\fairseq\bleu.py", line 67, in init
self.reset()
File "C:\Users\jost_\Anaconda3\envs\prismenv\lib\site-packages\fairseq\bleu.py", line 73, in reset
C.bleu_zeroinit(ctypes.byref(self.stat))
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\ctypes__init.py", line 377, in getattr
func = self.getitem_(name)
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\ctypes__init.py", line 382, in getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'bleu_zero_init' not found
I am trying to generate paraphrases but after executing
I get this error: Traceback (most recent call last): File "paraphrase_generation\generate_paraphrases.py", line 478, in
cli_main()
File "paraphrase_generation\generate_paraphrases.py", line 474, in cli_main
main(args)
File "paraphrase_generation\generate_paraphrases.py", line 359, in main
scorer = bleu.Scorer(tgt_dict.pad(), tgt_dict.eos(), tgtdict.unk())
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\site-packages\fairseq\bleu.py", line 67, in init
self.reset()
File "C:\Users\jost_\Anaconda3\envs\prismenv\lib\site-packages\fairseq\bleu.py", line 73, in reset
C.bleu_zeroinit(ctypes.byref(self.stat))
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\ctypes__init.py", line 377, in getattr
func = self.getitem_(name)
File "C:\Users\jost\Anaconda3\envs\prismenv\lib\ctypes__init.py", line 382, in getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'bleu_zero_init' not found
(I am using Windows 10)