Skip to content

AttributeError: 'Clustering' object has no attribute 'obj' #4

@devtrace404

Description

@devtrace404

When I run command CUDA_VISIBLE_DEVICES=0 python scripts/localagg.py ./config/imagenet_la.json to do LA training, I get the following error :

LocalAggregation-Pytorch/src/objectives/localagg.py(240)run_kmeans()
-> losses = faiss.vector_to_array(clus.obj)
(Pdb) n
AttributeError: 'Clustering' object has no attribute 'obj'

I checked the documentation of Faiss and there seems to be no attribute obj. Can you please check it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions