Skip to content

will there be a new version for Python 3 #23

@darotchou

Description

@darotchou

Hi, I tried to use your code on Win10 Python 3 environment.
But it returned

Traceback (most recent call last):
File "sstest.py", line 43, in
main()
File "sstest.py", line 15, in main
img, scale=500, sigma=0.9, min_size=10)
File "D:\TFCNN\selectivesearch.py", line 274, in selective_search
neighbours = _extract_neighbours(R)
File "D:\TFCNN\selectivesearch.py", line 208, in _extract_neighbours
for cur, a in enumerate(R[:-1]):

in python 3, it seems I have to convert some region data to list and for sorted() function, cmp is no longer used in python 3.
Will there be a python 3 version selective search in near days?

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