imatge-upc / salbow

Saliency Weighted Convolutional Features for Instance Search
https://imatge-upc.github.io/salbow/
55 stars 6 forks source link

Some Running Errors #4

Open jianchong-chen opened 6 years ago

jianchong-chen commented 6 years ago

There are some errors when I running the code:

  1. src/compute_assignments.py : extract_raw_features should be imported
  2. src/extract_raw_features.py : os should be imported
  3. the default backend of keras is tensorflow, while the code used theano
  4. QE error: src/BLCF/utils_BLCF.py line182~184 miss else, it should be

if new_queries is None:     new_queries = new else:     new_queries = vstack( (new_queries, new) )

jiayily commented 5 years ago

I have corrected these mistakes. But there's still a bug in line 61 of /src/BLCF/train_visual_voc.py training_feats = normalize(training_feats) The error is "ValueError: setting an array element with a sequence". It seems that training_feats's shape is not correct.