semantic-search
semantic-search copied to clipboard
ImportError: cannot import name 'cosine_proximity' from 'keras.losses'
It seems like the demo is broken, due to updates in the some of the packages.
Can you please lock the versions in requirements.txt
?
AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'
Thanks for reporting this. I unfortunately do not still have a running environment I used for this code, so your guess on compatible libraries is as good as mine. Based on the error messages though, this is most likely due to using pre 2.0 tensorflow. I'll try to take some time to get a version running and produce a pinned requirements.txt
file but if you have the time to try, I encourage you to do so and submit a PR, and I'll be happy to merge it.