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

No module named 'imagededup.evaluation' #199

Open
papayalove opened this issue Jul 26, 2023 · 3 comments
Open

No module named 'imagededup.evaluation' #199

papayalove opened this issue Jul 26, 2023 · 3 comments

Comments

@papayalove
Copy link

import imagededup
from imagededup.utils import plot_duplicates
from imagededup.methods.hashing import PHash
from imagededup.handlers import search
import imagededup.evaluation
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[76], line 5
      3 from imagededup.methods.hashing import PHash
      4 from imagededup.handlers import search
----> 5 import imagededup.evaluation

ModuleNotFoundError: No module named 'imagededup.evaluation'

I can import PHash by using from imagededup.methods.hashing import PHash. But I cannot import cnn and evaluation

@papayalove
Copy link
Author

from imagededup.methods import PHash

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[77], line 1
----> 1 from imagededup.methods import PHash

ModuleNotFoundError: No module named 'imagededup.methods'

But if I use from imagededup.methods.hashing import PHash, it works.

However, this fails again: from imagededup.methods.cnn import *

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[81], line 1
----> 1 from imagededup.methods.cnn import *

ModuleNotFoundError: No module named 'imagededup.methods'

@tanujjain
Copy link
Collaborator

Could you please share more info?

  • imagededup version
  • OS
  • conda/pip version

Also please try to stick to import formats as defined in the documentation.

@papayalove
Copy link
Author

Could you please share more info?

  • imagededup version
  • OS
  • conda/pip version

Also please try to stick to import formats as defined in the documentation.

I tried every import formats.

Linux SH-IDC1-10-140-0-104 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
imagededup 0.3.2
pip 22.0.4

Also, how to solve this problem? It just went timeout after a few minutes. I don't want to download this.
Downloading: "https://download.pytorch.org/models/mobilenet_v3_small-047dcff4.pth" to /home/dataproc/.cache/torch/hub/checkpoints/mobilenet_v3_small-047dcff4.pth

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