pip install salientdetect。,https://pypi.org/project/salientdetect/1.0.0/崩溃,显示错误
Error compiling Cython file:
------------------------------------------------------------
...
calc_region_score(img, regions, region_centroid, region_histgram, color_dist_mat, scores)
ret = {}
cdef vector[Coordinate*].iterator cvecit
cdef Coordinate* coor
cdef double score
for reg_id, score in scores.items():
^
------------------------------------------------------------
salientdetect\detector.pyx:266:31: Object of type 'unordered_map[int,double]' has no attribute 'items'
detector.pyx文件可以在这里找到:
https://github.com/shunsukeaihara/salientdetect/blob/master/salientdetect/detector.pyx
python 3.6版