When following the quickstart guide in the openNMT-tf documentation, I get this error when it gets to the evaluation:
NotFoundError: c:\users\owen\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_addons\custom_ops\seq2seq\_beam_search_ops.so not found
Is there something wrong with my versioning? It seems correct.
EDIT: I looked, and
_beam_search_ops.so exists in that directory. This error makes even less sense now.
How did you install it exactly? Did you use Anaconda?
I used Anaconda on Windows 10. Started a new virtualenv. Installed tensorflow-gpu with pip, then installed OpenNMT-tf with pip.
I used Docker instead and it worked. Must have been a versioning problem.
I was facing the exact issues and wasn’t able to find any solution online. However, the problem seems to be resolved by downgrading to
tensorflow-addons==0.7.1 (and also some older versions… this is the last one working for me). After doing that I get a warning based on OpenNMT-tf requirements, so to be safe I had to downgrade to
I hope the issue will be resolved later on so I can use the latest version, but at least I can work with this one for now…