module 'faiss' has no attribute 'cast_integer_to_long_ptr'

本来安装的faiss-gpu版本是1.7.x

报错:module 'faiss' has no attribute 'cast_integer_to_long_ptr'

将版本改为≤1.6.4就行了

pip install faiss-gpu==1.6.4

 

参考链接:https://github.com/JDAI-CV/fast-reid/issues/498

posted @   称已使用  阅读(1045)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示