Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability do install just hashing dependencies #219

Open
BbqGamer opened this issue Aug 22, 2024 · 1 comment
Open

Ability do install just hashing dependencies #219

BbqGamer opened this issue Aug 22, 2024 · 1 comment

Comments

@BbqGamer
Copy link

The dependencies for CNN based methods are heavy (torch), and considering that a lot of people want to just use hashing methods I think that ability to install just a subset of functionalities would be great.

Idea is to allow for something like:

  • pip install imagededup[cnn] - to install optional dependency
    all the hasing methods could be installed by default as they are reasonably lightweight

I believe that this feature would make the library even more awesome and approachable and even allow other projects to seamlessly integrate it without needing to add such a big dependency.

@JeroenDelcour
Copy link

Alternatively, the CNN methods could be converted use a lightweight inference engine like onnxruntime-gpu. It would probably require reworking a bunch of things like the custom model support, but I agree having a super heavy requirement like torchvision (>1GB) is a dealbreaker in many situations where you just want simple image deduplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants