CASIA-IVA-Lab/ISP-reID

version about the dependent lib?

Closed this issue · 4 comments

Nice work ! It's a very interesting idea , but I can't train with this code . what is the version of ignite?or install it by source?

Hi, my pytorch-ignite version is 0.2.0 (and version 0.1.2 may also works). What errors have you encountered?

thanks for reply,
the error is
File "/workspace/code/reid/ISP-reID/engine/clustering.py", line 170, in run_kmeans
losses = faiss.vector_to_array(clus.obj)
AttributeError: 'Clustering' object has no attribute 'obj'

Maybe the faiss is installed incorrectly,but there‘s no import error.

Hi, my faiss version is 1.5.2. Please check if you are using python3 and you may find the solution from facebookresearch/faiss#1179.

thanks , pip install faiss-gpu==1.6.1 , It worked!