Coder Social home page Coder Social logo

Storing and Searching about image-match HOT 5 CLOSED

rhsimplex avatar rhsimplex commented on July 28, 2024
Storing and Searching

from image-match.

Comments (5)

Lvctao avatar Lvctao commented on July 28, 2024

I have figure out the problem. It is a BUG in numpy-1.11.1. The factor is that in Python 3.x list.sort() no longer accept the cmp argument providing a comparison function. It should use the Key argument instead of ar.sort().
The reference documentation site is "https://docs.python.org/3/whatsnew/3.0.html#ordering-comparisons"

from image-match.

rhsimplex avatar rhsimplex commented on July 28, 2024

Hi @Lvctao, I was able to reproduce this, thanks for finding it. I'll try to fix it today.

from image-match.

rhsimplex avatar rhsimplex commented on July 28, 2024

Fixed, and the new version is on Pypi. Thanks again @Lvctao

from image-match.

Lvctao avatar Lvctao commented on July 28, 2024

My solution is delete "ar.sort()" in line 198 in arraysetops.py. I know this solution isincorrect. Could you tell me why the problem occurred or how to fix it.

发自 网易邮箱大师
On 08/19/2016 17:52, Ryan Henderson wrote:

Fixed, and the new version is on Pypi. Thanks again @Lvctao


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from image-match.

rhsimplex avatar rhsimplex commented on July 28, 2024

If you do pip install image_match --upgrade that should fix the issue. The problem was set and np.unique could work on dictionaries in python2 but not python3. @vrde fixed it by checking the id of each image directly. We also added a new test so this doesn't happen again.

from image-match.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.