zlmzju / part_reid

Code for ICCV2017 paper: Deeply-Learned Part-Aligned Representations for Person Re-Identification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'normed_feature' not found

rohanchandra30 opened this issue · comments

In the extract_features method in the Extractor() class, there is a line:

normed_features=self.net.blobs['normed_feature'].data.copy()

I checked the _caffe.cpp file in ./caffe/python/caffe/_caffe.cpp and I then checked all the properties for net.blobs and 'normed_feature' was not one of them.

Any ideas on how to resolve this?

Thanks

The key of normed_feature is the blob name defined in network architecture. You can find it in 'models/demo/test.prototxt'.

The key of normed_feature is the blob name defined in network architecture. You can find it in 'models/demo/test.prototxt'.